ACM
Lventricmt
这个作者很懒,什么都没留下…
展开
-
HDU 6114 Chess(DP)2017百度之星初赛(B) 1001
题意:对于任何一个車A,如果有其他一个車B在它的上方(車B行号小于車A),那么車A必须在車B的右边(車A列号大于車B)。在满足该条件的情况下,摆最多棋子的 方案数有多少。思路:自底向上来思考,用n表示行数,m表示列数。先假设一种极端情况(n n:3 m:5(1表示已经放了一个棋子,0表示不放旗子,2表示可以选择放旗子)10000原创 2017-08-13 17:39:51 · 603 阅读 · 0 评论 -
Codeforces#421 Mister B and Angle in Polygon
题目网址:http://codeforces.com/contest/820/problem/B题目:B. Mister B and Angle in Polygontime limit per test2 secondsmemory limit per test256 megabytesinputstandard input原创 2017-06-28 10:39:55 · 598 阅读 · 0 评论 -
Codeforces#420 Okabe and Boxes
题目网址:http://codeforces.com/contest/821/problem/C题目:C. Okabe and Boxestime limit per test3 secondsmemory limit per test256 megabytesinputstandard inputoutputstan原创 2017-06-27 16:33:33 · 401 阅读 · 0 评论 -
Codeforces#420 Okabe and Banana Trees
题目网址:http://codeforces.com/contest/821/problem/B题目:B. Okabe and Banana Treestime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutput原创 2017-06-27 12:16:04 · 533 阅读 · 0 评论 -
Codeforces#418 An impassioned circulation of affection
题目网址:http://codeforces.com/contest/814/problem/C题目:C. An impassioned circulation of affectiontime limit per test2 secondsmemory limit per test256 megabytesinputstandard原创 2017-06-23 14:31:19 · 415 阅读 · 0 评论 -
Codeforces#419 Karen and Coffee
题目: Karen, a coffee aficionado, wants to know the optimal temperature for brewing the perfect cup of coffee. Indeed, she has spent some time reading several recipe books, including the universally原创 2017-06-21 23:25:57 · 307 阅读 · 0 评论