B. Rectangle and Square 题目连接: http://codeforces.com/contest/135/problem/B Description Little Petya very much l…
分类:Online Judge
Codeforces Round #346 (Div. 2) C. Tanya and Toys 贪心
C. Tanya and Toys 题目连接: http://www.codeforces.com/contest/659/problem/C Description In Berland recently a new …
ACM POJ 2245Lotto解题报告
http://poj.org/problem?id=2245 Lotto 在玩德国游戏Lotto时,要从集合{1,2,……,49}中取出六个数。 一个非常流行的玩法(尽管这种玩法并不能增加你赢的机会)是从这49个数字中取…
HDU 4123 Bob’s Race 树的直径 RMQ
Bob’s Race Time Limit: 20 Sec Memory Limit: 256 MB 题目连接 http://acm.hdu.edu.cn/showproblem.php?pid=4123 Descrip…
hdu 4111 Alice and Bob 记忆化搜索 博弈论
Alice and Bob Time Limit: 20 Sec Memory Limit: 256 MB 题目连接 http://acm.hdu.edu.cn/showproblem.php?pi…
HDU 4727 The Number Off of FFF (水题)
The Number Off of FFF Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 …
HDU 4432 Sum of divisors 第37届ACM/ICPC天津现场赛B题 (简单题)
Sum of divisors Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Jav…
HDU 1009 FatMouse' Trade(贪心)
FatMouse’ Trade Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 …
BZOJ 2661 [BeiJing wc2012]连连看 费用流
[BeiJing wc2012]连连看 题目连接: http://www.lydsy.com/JudgeOnline/problem.php?id=2661 Description 凡是考智商的题里面总会有这么一种消除游…
BZOJ 1934: [Shoi2007]Vote 善意的投票 最小割
1934: [Shoi2007]Vote 善意的投票 Time Limit: 1 Sec Memory Limit: 256 MB 题目连接 http://www.lydsy.com/JudgeOnline…
CDOJ 1307 ABCDE 前缀和优化dp
ABCDE 题目连接: http://acm.uestc.edu.cn/#/problem/show/1307 Description Binary-coded decimal (BCD) is a kind of bi…
HDU 5673 Robot 数学
Robot 题目连接: http://acm.hdu.edu.cn/showproblem.php?pid=5673 Description There is a robot on the origin point of…