摘要: 传送门Nim is a two-player mathematic game of strategy in which players take turns removing objects from distinct heaps. On each turn, a playe... 阅读全文
posted @ 2018-10-24 23:05 ChenJr 阅读(151) 评论(0) 推荐(0) 编辑
摘要: 传送门题面:任何一个大学生对菲波那契数列(Fibonacci numbers)应该都不会陌生,它是这样定义的: F(1)=1; F(2)=2; F(n)=F(n-1)+F(n-2)(n>=3); 所以,1,2,3,5,8,13……就是菲波那契数列。 在HDOJ上有不少相关的题... 阅读全文
posted @ 2018-10-24 21:24 ChenJr 阅读(215) 评论(0) 推荐(0) 编辑
摘要: 传送门题面:1022: [SHOI2008]小约翰的游戏JohnTime Limit: 1 Sec Memory Limit: 162 MBSubmit: 3445 Solved: 2222[Submit][Status][Discuss]Description 小约翰... 阅读全文
posted @ 2018-10-24 16:02 ChenJr 阅读(175) 评论(0) 推荐(0) 编辑