POJ 2234
来源:互联网 发布:淘宝otc阿胶会假货吗 编辑:程序博客网 时间:2024/06/06 11:49
于是我又机智的水了一篇=_=
//POJ-2234.cpp#include <cstdio>#include <cstring>#include <cmath>#include <cstdlib>#include <ctime>#include <climits>#include <cctype>#include <algorithm>#include <iostream>#include <string>#include <stack>#include <map>#include <set>#include <queue>#include <utility>#include <vector>#include <bitset>#include <functional>using namespace std;//const double pai = acos(-1.0);const double pai = 3.14159265358979323846;const int INF = 0x3f3f3f3f;typedef long long love_live;int main(int argc, char const *argv[]) {#ifndef ONLINE_JUDGE//freopen("output", "w", stdout);freopen("input", "r", stdin);#endifint n, m, i, j, k;while(scanf("%d", &n) != EOF){int ans = 0;for(i = 0; i < n; ++i){scanf("%d", &k);ans ^= k;}if(ans == 0){printf("No\n");}else{printf("Yes\n");}}return 0;}
0 0
- POJ 2234
- POJ 2234
- poj-2234
- poj 2234
- POJ-2234:Matches Game
- POJ 2234 尼姆博奕
- POJ-2234-Matches Game
- POJ 2234 Nim
- poj 2234 博弈-Nim
- poj 2234 matches game
- POJ 2234 Matches Game
- 【poj 2234】Matches Game
- POJ-2234:Matches Game
- poj 2234 Matches Game
- POJ 2234 Matches Game
- POJ
- poj
- POJ
- BlockingQueue
- uva 10003(dp)
- 安卓 shell 点亮屏幕
- 一道 C++面试题目
- Macbook reset PRAM
- POJ 2234
- [数据结构] 双向链表的实现
- JAVA学习第三十二课(常用对象API)- 基本数据类型对象包装类
- java web环境配置
- 教师得罪了谁?
- Oracle实用功能之分组后列合并(树结构)
- RP问题(HDU 1574)—— 0-1背包(需深入理解)
- 查看一个或多个文件一共有多少行
- js 刷新页面后保持页面原来的位置