- 博客(2)
- 收藏
- 关注
原创 How many integers can you find (HDU 1796)
Now you get a number N, and a M-integers set, you should find out how many integers which are small than N, that they can divided exactly by any integers in the set. For example, N=12, and M-integer set is {2,3}, so there is another set {2,3,4,6,8,9,10}, a
2016-11-13 19:24:13
236
原创 hdu 2516 取石子游戏
1堆石子有n个,两人轮流取.先取者第1次可以取任意多个,但不能全部取完.以后每次取的石子数不能超过上次取子数的2倍。取完者胜.先取者负输出"Second win".先取者胜输出"F
2016-11-13 16:04:41
227
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人