摘要: 原题链接:http://acm.hdu.edu.cn/showproblem.php?pid=6534 题意: 给你一个数组,对于第i个数来说,如果存在一个位置j,使得j i并且a[j] k include include using namespace std; const int maxn=27 阅读全文
posted @ 2019-08-13 19:32 UCPRER 阅读(123) 评论(0) 推荐(0) 编辑
摘要: 原题链接:http://acm.hdu.edu.cn/showproblem.php?pid=6655 简单博弈问题,A,B手里各有n,m张牌,牌有颜色,两人轮流出牌(A先出),一个人只能打出对放未打出过的颜色的牌(可以打出自己打出过的颜色的牌),当一方不能再打出牌时,对方获胜。 博弈策略:优先选择 阅读全文
posted @ 2019-08-13 13:08 UCPRER 阅读(155) 评论(0) 推荐(0) 编辑