码迷,mamicode.com
首页 >  
搜索关键字:stones    ( 236个结果
Brainteaser-292. Nim Game
You are playing the following Nim Game with your friend: There is a heap of stones on the table, each time one of you take turns to remove 1 to 3 ston ...
分类:其他好文   时间:2018-01-13 11:14:52    阅读次数:157
2017ICPC北京 J:Pangu and Stones
#1636 : Pangu and Stones 时间限制:1000ms 单点时限:1000ms 内存限制:256MB 描述 In Chinese mythology, Pangu is the first living being and the creator of the sky and th ...
分类:其他好文   时间:2018-01-01 14:59:16    阅读次数:214
292. Nim Game(easy)
You are playing the following Nim Game with your friend: There is a heap of stones on the table, each time one of you take turns to remove 1 to 3 ston ...
分类:其他好文   时间:2017-12-02 22:13:33    阅读次数:149
292. Nim Game
You are playing the following Nim Game with your friend: There is a heap of stones on the table, each time one of you take turns to remove 1 to 3 ston ...
分类:其他好文   时间:2017-10-25 21:23:02    阅读次数:157
Problem 1538 - B - Stones II 贪心+DP
还是给你石头n枚,每一枚石头有两个值a和b,每取一个石头,除了这块石头其余所有的石头的a就都减去这个石头的b,问你取了的石头的a的总和最大可以为多少? 先按B从大到小排序 然后DP: 取的话:dp[i][j]=dp[i-1][j-1]+a[i]-b[i]*(j-1) 注意是j-1 不取的话:dp[i ...
分类:其他好文   时间:2017-09-14 18:43:48    阅读次数:136
Nim Game
You are playing the following Nim Game with your friend: There is a heap of stones on the table, each time one of you take turns to remove 1 to 3 ston ...
分类:其他好文   时间:2017-09-03 10:04:00    阅读次数:231
2017年7月21日 星期五 --出埃及记 Exodus 28:12
2017年7月21日 星期五 --出埃及记 Exodus 28:12and fasten them on the shoulder pieces of the ephod as memorial stones for the sons of Israel. Aaron is to bear the ...
分类:其他好文   时间:2017-08-07 11:59:28    阅读次数:110
2017年7月20日 星期四 --出埃及记 Exodus 28:11
2017年7月20日 星期四 --出埃及记 Exodus 28:11Engrave the names of the sons of Israel on the two stones the way a gem cutter engraves a seal. Then mount the stone ...
分类:其他好文   时间:2017-08-07 11:57:40    阅读次数:107
2017年7月30日 星期日 --出埃及记 Exodus 28:21
2017年7月30日 星期日 --出埃及记 Exodus 28:21There are to be twelve stones, one for each of the names of the sons of Israel, each engraved like a seal with the n ...
分类:其他好文   时间:2017-08-07 11:45:09    阅读次数:129
Codeforces 264A. Escape from Stones
Squirrel Liss lived in a forest peacefully, but unexpected trouble happens. Stones fall from a mountain. Initially Squirrel Liss occupies an interval  ...
分类:其他好文   时间:2017-07-31 01:03:42    阅读次数:236
236条   上一页 1 ... 10 11 12 13 14 ... 24 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!