- 博客(15)
- 收藏
- 关注
原创 POJ 2183
DescriptionFarmer John loves to help the cows further their mathematical skills. He has promised them Hay-flavored ice cream if they can solve various mathematical problems. He said to Bessi
2014-04-27 23:49:51
483
原创 CodeForces 405A
DescriptionLittle Chris is bored during his physics lessons (too easy), so he has built a toy box to keep himself occupied. The box is special, since it has the ability to change gravity.There a
2014-04-27 23:47:16
404
原创 CodeForces 401C
DescriptionNow it's time of Olympiads. Vanya and Egor decided to make his own team to take part in a programming Olympiad. They've been best friends ever since primary school and hopefully, that c
2014-04-27 23:43:21
523
原创 CodeForces 415B
DescriptionBimokh is Mashmokh's boss. For the following n days he decided to pay to his workers in a new way. At the beginning of each day he will give each worker a certain amount of tokens. Then
2014-04-27 23:37:29
451
原创 POJ-1163
zh#include#include#includeusing namespace std;int nasce,n,max_two;int number[101][101];void DP(){ for(int i = n -2; i >= 0; i--) for(int j = 0; j < i + 1; j++) {
2014-04-09 15:54:55
342
原创 HDU-2084 数塔
#include#include#includeusing namespace std;int nasce,n,max_two;int number[101][101];void DP(){ for(int i = n -2; i >= 0; i--) for(int j = 0; j < i + 1; j++) { m
2014-04-09 15:52:36
348
原创 C - Red and Black
这道题可以这么说,第一次编写好的代码和AC的代码,除了几个关键字没改过,剩下的全都改了个遍。问题多到记不全了,只能把重要的下来。1:在输入数字后输入字符的情况下,应该在有个特殊的处理方法一: scanf("%d\n");在%d后面加个\n就可以把数字后面的回车冲销掉,不会对后面将要输入的字符造成影响。(老大教的!)方法二:scanf("%d");getchar();
2014-04-02 23:35:29
716
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人