摘要: 题面:https://www.luogu.org/problem/P2197 阅读全文
posted @ 2019-09-22 13:47 prestige 阅读(165) 评论(0) 推荐(0) 编辑
摘要: 题面:https://www.luogu.org/problem/P1199 阅读全文
posted @ 2019-09-22 13:44 prestige 阅读(128) 评论(0) 推荐(0) 编辑
摘要: 题面:http://poj.org/problem?id=2975 cpp 本题就是nim游戏的一个变试,因为我们知道nim游戏中每次会取ai xor x include include include include include include include using namespace 阅读全文
posted @ 2019-09-22 13:41 prestige 阅读(95) 评论(0) 推荐(0) 编辑
摘要: 题面:https://www.luogu.org/problem/P2577 cpp 本题一旦设出f[i][j]表示前i个人,在1号窗口打饭总时间j,最早吃完饭的时间 那么就很容易想到 当把i放在1号窗口 f[i][j] = min(f[i][j], max(f[i 1][j s[i].a], j+ 阅读全文
posted @ 2019-09-22 13:34 prestige 阅读(118) 评论(0) 推荐(0) 编辑