2012年8月9日

hdu 1028Ignatius and the Princess III

摘要: http://acm.hdu.edu.cn/showproblem.php?pid=1028and the Princess IIITime Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 7214Accepted Submission(s): 5118Problem Description"Well, it seems the first problem is too easy. I will let you know how foolish 阅读全文

posted @ 2012-08-09 13:43 仁者无敌8勇者无惧 阅读(212) 评论(0) 推荐(0) 编辑

hdu 1398Square Coins

摘要: http://acm.hdu.edu.cn/showproblem.php?pid=1398View Code 1 #include<stdio.h> 2 int main() 3 { 4 int n,i,j,k; 5 int sum[305]; 6 int temp[305]; 7 while(~scanf("%d",&n),n) 8 { 9 10 11 for(i=0;i<=n;i++)12 {13 sum[i]=1;14 temp[i]... 阅读全文

posted @ 2012-08-09 13:38 仁者无敌8勇者无惧 阅读(127) 评论(0) 推荐(0) 编辑

导航