题目来源:http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemId=904题意: 看图, 给出D,
和 抠掉的木材的体积V, 求图中 d.圆柱体积: pi * r^2 * h圆台体积: pi * (r1 ^2 + r2^2 + r1 *r2...
分类:
其他好文 时间:
2014-05-09 10:43:33
阅读次数:
362
题目来源:http://acm.hdu.edu.cn/showproblem.php?pid=2516分析: 当石子个数为 fabonacii 数时,
为必败态。代码如下:LL fib[60] ;void init(){ int i; fib[0] = fib[1] = 1 ; f...
分类:
其他好文 时间:
2014-05-09 04:54:02
阅读次数:
344
题目来源:http://acm.hdu.edu.cn/showproblem.php?pid=2897分析:n % (p + q) == 0 先手赢。 策略为:
A 拿 q , B 拿任意 k, A拿 p+q - k, 最后剩 p, B拿。 n % (p + q) + left left <= p....
分类:
其他好文 时间:
2014-05-09 04:17:33
阅读次数:
270
转自:http://marklodato.github.io/visual-git-guide/index-zh-cn.html个人觉得这一篇比一些入门教程更值得看,图解很详细到位,很容易理解其工作原理,明白了这个过程,对以后冲突的产生以及其他难题相信可以依靠自己快速分析出来。有不懂的地方欢迎评论讨...
分类:
其他好文 时间:
2014-05-09 04:16:00
阅读次数:
367
转自 http://www.cstor.cn/textdetail_6531.html
分类:
其他好文 时间:
2014-05-09 03:37:49
阅读次数:
201
转载请注明出处:http://blog.csdn.net/u012860063
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=4278
Faulty Odometer
Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Other...
分类:
其他好文 时间:
2014-05-09 02:03:58
阅读次数:
410
转载请注明出处:http://blog.csdn.net/u012860063
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=4287
百度之星编程大赛——您报名了吗?
杭电ACM 2014暑期集训队——选拔安排~
Intelligent IME
Time Limit: 2000...
分类:
其他好文 时间:
2014-05-09 01:35:06
阅读次数:
334
Create View V_CouponTypeasSELECT CouponTypeId,
CouponTypeNameFROM Gas_CN_Trade_B2C.dbo.CouponTypeWHERE (IsDeleted = 0)
分类:
其他好文 时间:
2014-05-08 23:04:27
阅读次数:
332
零关爱.CN,在一个令人无奈和痛恨的家庭中成长,这个家庭创造了人类奇迹,可谓是前所未有的,所有的不幸都在这里发生了。
分类:
其他好文 时间:
2014-05-08 22:56:13
阅读次数:
240
题目:
链接:http://acm.hdu.edu.cn/showproblem.php?pid=1686
题意:
输入t,是测试组数。每组测试,依次输入 字符串s1和s2。求出s2中s1的个数,可以有重叠。
思路:
KMP算法。
代码:
#include
#include
#include
using namespace std;
char s1[1001...
分类:
其他好文 时间:
2014-05-08 15:55:31
阅读次数:
285