The kth great number
Xiao Ming and Xiao Bao are playing a simple Numbers game. In a round Xiao Ming can choose to write down a number, or ask Xiao Bao what the kth great number is. Because the numb...
分类:
其他好文 时间:
2014-09-22 19:12:13
阅读次数:
197
描述有N个密室,3种钥匙(红色,绿色,白色)和2种锁(红色,绿色),红色钥匙只能开红色的锁,绿色钥匙只能开绿色的锁,白色钥匙可以开红色的锁和绿 色的锁,一把钥匙使用一次之后会被扔掉。每个密室由一扇门锁着,上面锁着一些红色和绿色的锁,房间里面放着一些红色、绿色和白色的钥匙,打开密室你将拿走 这些钥匙。...
分类:
其他好文 时间:
2014-09-22 15:34:33
阅读次数:
503
Codeforces Round #268 (Div. 2) A , B , C 题解...
分类:
其他好文 时间:
2014-09-21 17:58:21
阅读次数:
340
A.24 Game题意:给你1, 2, ..., n-1, n 这个序列,每次你可以取出两个数做+/-/*三种操作之一,然后把结果放回到序列中,询问能否是的这个序列最后只剩下一个24。解法:首先很明显n 5,那么我可以做n - (n - 1) = 1,相当于变成了n-2时候的情况加一个1,那么显然....
分类:
其他好文 时间:
2014-09-21 02:29:59
阅读次数:
349
c被fst了。。。。。。。。。。。。。。。。然后掉到600+.。。。然后。。。估计得绿名了。。sadA.I Wanna Be the Guy题意:让你判断1~n个数哪个数没有出现。。sb题。。。开个数组即可。。#include #include #include #include #include ...
分类:
其他好文 时间:
2014-09-21 01:34:29
阅读次数:
490
1662: [Usaco2006 Nov]Round NumbersTime Limit:5 SecMemory Limit:64 MBSubmit:147Solved:84[Submit][Status][Discuss]Description正如你所知,奶牛们没有手指以至于不能玩“石头剪刀布”来...
分类:
其他好文 时间:
2014-09-20 22:22:19
阅读次数:
274
Revenge of GCD
Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768
K (Java/Others)
...
分类:
其他好文 时间:
2014-09-20 14:08:17
阅读次数:
155
Revenge of Collinearity
Time Limit: 8000/5000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)
Total Submission(s): 184 Accepted Submission(s): 51
Problem Description
In ge...
分类:
其他好文 时间:
2014-09-20 10:06:27
阅读次数:
176
Revenge of Fibonacci
Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)
Total Submission(s): 372 Accepted Submission(s): 177
Problem Description
In math...
分类:
其他好文 时间:
2014-09-20 10:03:57
阅读次数:
156
The new ITone 6 has been released recently and George got really keen to buy it. Unfortunately, he didn't have enough money, so George was going to work as a programmer. Now he faced the following pro...
分类:
其他好文 时间:
2014-09-19 23:56:06
阅读次数:
254