2013年4月6日

hdu 1708 (字符串,Fibonacci )

摘要: 点击打开链接 一个fibonacci的变形。。 #include#includeint ans[55][27];int main(){ int n,i,j,t; char s1[31],s2[33]; scanf("%d",&t); while(t--) { ... 阅读全文

posted @ 2013-04-06 12:38 Slege 阅读(119) 评论(0) 推荐(0) 编辑

hdu 1709 (母函数,有些特殊)

摘要: 点击打开链接 母函数。。 #include"stdio.h"#include"string.h"int main(){ int a[10008]; int b[10008]; int c1[10008]; int c2[10008]; int i,j,k; ... 阅读全文

posted @ 2013-04-06 12:14 Slege 阅读(141) 评论(0) 推荐(0) 编辑

hdu 1707 (简单数学)

摘要: 点击打开链接 刚开始没理解,忽略了天数和时间的的关系。后来才改过来。。。 没什么难度,就个结构体。。(刚开始以为是线段树。。) #include"stdio.h"#include"string.h"#include"stdlib.h";struct node{ int day[10][... 阅读全文

posted @ 2013-04-06 12:10 Slege 阅读(120) 评论(0) 推荐(0) 编辑

导航