摘要:
选课时间(题目已修改,注意读题)Time Limit: 1000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 2137Accepted Submission(s): 1699Problem Description又到了选课的时间了,xhd看着选课表发呆,为了想让下一学期好过点,他想知道学n个学分共有多少组合。你来帮帮他吧。(xhd认为一样学分的课没区别)Input输入数据的第一行是一个数据T,表示有T组数据。每组数据的第一行是两个整数n(1 2 #include 3 #.. 阅读全文
posted @ 2013-07-01 17:20
码代码的猿猿
阅读(244)
评论(0)
推荐(0)
摘要:
找单词Time Limit: 1000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 2919Accepted Submission(s): 2089Problem Description假设有x1个字母A, x2个字母B,..... x26个字母Z,同时假设字母A的价值为1,字母B的价值为2,..... 字母Z的价值为26。那么,对于给定的字母,可以找到多少价值 3 #include 4 #include 5 6 using namespace std; 7 8 t... 阅读全文
posted @ 2013-07-01 17:19
码代码的猿猿
阅读(256)
评论(0)
推荐(0)
摘要:
Holding Bin-Laden Captive!Time Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 11583Accepted Submission(s): 5188Problem DescriptionWe all know that Bin-Laden is a notorious terrorist, and he has disappeared for a long time. But recently, it is reported 阅读全文
posted @ 2013-07-01 17:17
码代码的猿猿
阅读(202)
评论(0)
推荐(0)
摘要:
Ignatius and the Princess IIITime Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 9532Accepted Submission(s): 6722Problem Description"Well, it seems the first problem is too easy. I will let you know how foolish you are later." feng5166 says.& 阅读全文
posted @ 2013-07-01 17:15
码代码的猿猿
阅读(192)
评论(0)
推荐(0)
摘要:
Square CoinsTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 6416Accepted Submission(s): 4336Problem DescriptionPeople in Silverland use square coins. Not only they have square shapes but also their values are square numbers. Coins with values of al 阅读全文
posted @ 2013-07-01 17:14
码代码的猿猿
阅读(254)
评论(0)
推荐(0)
摘要:
详见Matrix67 http://www.matrix67.com/blog/archives/120 讲的很好大概的套路:#include using namespace std; const int maxn=10000;int c1[maxn],c2[maxn]; int main(){ int n,i,j,k; while(cin>>n&&n) { for(i=0;i<=n;i++) { c1[i]=1; c2[i]=0; }//这里是对第一层括号进行初始化 for(i=2;i<=... 阅读全文
posted @ 2013-07-01 17:13
码代码的猿猿
阅读(257)
评论(0)
推荐(0)
摘要:
我们去看视频,无论是优酷,酷六 ,还是,我乐,土豆,六间房等都有15~30秒的广告,不想看,但又不得不看,很烦,有木有。现在我们就以 xp系统对优酷网的为例来讲解其方法。【步骤/方法】打开我的电脑,在地址栏输入:C:\Windows\System32\drivers\etc 按enter 键,找到hosts 文件用记事本方式 打开它。点击确定。在里面加入 以下代码(加到末尾),保存,退出即可,破解... 阅读全文
posted @ 2013-07-01 06:47
码代码的猿猿
阅读(265)
评论(0)
推荐(0)
摘要:
找单词Time Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 2919 Accepted Submission(s): 2089Problem Description假设有x1个字母A, x2个字母B,..... x26个字母Z,同时假设字母... 阅读全文
posted @ 2013-07-01 05:58
码代码的猿猿
阅读(146)
评论(0)
推荐(0)