摘要:
思路 找规律。 首先,容易发现这个游戏其实就是基本的硬币游戏。 所以对于如果有 \(k\) 个数,它的 SG 函数为 \(\displaystyle\bigoplus_{i=1}^n \log_2 \text{lowbit}(i)\)。 我们直接对其进行打表找规律,打表代码: const int M 阅读全文
posted @ 2025-01-25 21:41
GuTongXing
阅读(17)
评论(0)
推荐(0)
摘要:
LibreOJ-6565 最假女选手 吉司机线段树模板题,注重复习。 #include<bits/stdc++.h> using namespace std; #define endl '\n' #define int long long namespace gtx{ // Fast IO char 阅读全文
posted @ 2025-01-25 16:00
GuTongXing
阅读(8)
评论(0)
推荐(0)