首页 > TAG信息列表 > 2176

HDU 2176 取(m堆)石子游戏

\(HDU2176\) 先取者负输出\(No\).先取者胜输出\(Yes\),然后输出先取者第\(1\)次取子的所有方法.如果从有\(a\)个石子的堆中取若干个后剩下\(b\)个后会胜就输出\(a\) \(b\) #include <bits/stdc++.h> using namespace std; const int N = 200010; int a[N]; int main() { int