
SG函数
文章平均质量分 89
做不完的ACM
加油,努力
展开
-
SG函数和SG定理
转自:http://www.cnblogs.com/ECJTUACM-873284962/p/6921829.htmlSG函数和SG定理【详解】在介绍SG函数和SG定理之前我们先介绍介绍必胜点与必败点吧.必胜点和必败点的概念: P点:必败点,换而言之,就是谁处于此位置,则在双方操作正确的情况下必败。 N点:必胜点,处于此情况下,双方操作均正确的情况下必胜。必胜点和必败点的性...转载 2018-03-21 01:14:42 · 226 阅读 · 0 评论 -
Codeforces 768E(SG函数)
题目链接:http://codeforces.com/contest/768/problem/E E. Game of Stonestime limit per test3 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputSam has been teaching Jon...原创 2018-03-21 01:47:30 · 662 阅读 · 0 评论