摘要: HDU1944 S Nim Problem Description Arthur and his sister Caroll have been playing a game called Nim for some time now. Nim is played as follows: The st 阅读全文
posted @ 2018-09-07 16:48 caomp 阅读(265) 评论(0) 推荐(0)
摘要: HDU1848 Fibonacci again and again Problem Description 任何一个大学生对菲波那契数列(Fibonacci numbers)应该都不会陌生,它是这样定义的: F(1)=1; F(2)=2; F(n)=F(n 1)+F(n 2)(n =3); 所以,1 阅读全文
posted @ 2018-09-07 16:31 caomp 阅读(93) 评论(0) 推荐(0)