摘要: 题目 D. Stoned Game 分析 如果最大的一堆大于其余所有之和,那么先手必胜,否则根据奇偶来判断 代码 #include<bits/stdc++.h> using namespace std; const int N=2e5+10; int a[N]; int main() { int t 阅读全文
posted @ 2021-12-31 15:46 m_rd 阅读(42) 评论(0) 推荐(0)
摘要: 1.序列 题意 分析 代码 #include<bits/stdc++.h> using namespace std; const int N=2e5+10; int a[N],b[N],c[N]; int m,n; void divide(int a[ ],int b[ ]) { priority_ 阅读全文
posted @ 2021-12-31 14:51 m_rd 阅读(47) 评论(0) 推荐(0)