![](https://img-blog.csdnimg.cn/20201014180756926.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
博弈论
gjghfd
这个作者很懒,什么都没留下…
展开
-
bzoj3105 [ CQOI2013 ] -- 博弈论+线性基+贪心
Nim游戏先手必败的条件是所有石子异或和为00。然后就和这题一样了。原创 2017-07-06 17:32:50 · 225 阅读 · 0 评论 -
[ 博弈论 ] Codeforces919F A Game With Numbers
发现数字的位置是没有影响的,那么可以用隔板法求出状态数为 (124)2=245025(124)2=245025{12\choose 4}^2=245025 。 然后不停用已确定的状态更新其他状态就好了。 #include<bits/stdc++.h> using namespace std; typedef unsigned long long ull; const int N...原创 2018-02-10 13:43:52 · 383 阅读 · 0 评论