摘要:
Cutting Game Description Urej loves to play various types of dull games. He usually asks other people to play with him. He says that playing those gam 阅读全文
摘要:
题意:给定n张牌,两个人轮流摸牌,每次摸牌张数为2的幂次,问先手胜还是后手胜 n≤1000 题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=1847 1 #include<iostream> 2 #include<cstdio> 3 #include<a 阅读全文
摘要:
题意:三堆石子,每次能拿走斐波那契数个石子,先取完石子胜,问先手胜还是后手胜 石子个数<=1000 多组数据 题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=1848 1 #include<iostream> 2 #include<cstdio> 3 # 阅读全文