hdu 1730 Northcott Game
来源:互联网 发布:js调用身份证读取器 编辑:程序博客网 时间:2024/06/05 22:45
//Time 0ms, Memory 228K
#include<iostream>#include<cstdio>#include<cmath>using namespace std;int main(){ int t,j,n,m,ans; while(scanf("%d%d",&n,&m)!=EOF) { ans=0; for(int i=0;i<n;i++) { scanf("%d%d",&t,&j); m=abs(t-j)-1; ans^=m; } if(ans) printf("I WIN!\n"); else printf("BAD LUCK!\n"); } return 0;}
- hdu 1730 Northcott Game
- HDU 1730 Northcott Game
- Hdu 1730 Northcott Game
- hdu 1730 Northcott Game
- HDU 1730 Northcott Game
- hdu 1730 Northcott Game
- HDU 1730 Northcott Game
- HDU 1730 Northcott Game
- HDU-1730 Northcott Game
- hdu 1730 Northcott Game
- 博弈论 HDU 1730 Northcott Game
- Northcott Game - HDU 1730 Nim
- HDU 1730 Northcott Game(Nim game)
- 杭电hdu 1730 Northcott Game 博弈
- hdu 1730 Northcott Game (nim博弈变形)
- HDU 1730 Northcott Game(nim博弈)
- HDU 1730 - Northcott Game(博弈)
- HDU 1730 Northcott Game 【组合博弈】
- poj1286(polya计数 套模版)
- 快捷方式引起的home键问题
- 数据结构_栈实现数值转换
- 教大家快捷的生成和解析xml
- poj2249(排列组合__套模板)
- hdu 1730 Northcott Game
- 《C++ Primer》读书笔记(6.5,6.8,6.11)
- poj1833(排列组合)
- poj2748(找规律)
- poj2356(鸽巢原理)
- poj3370(鸽巢原理-与2356一样)
- Flex 4 Auto-Resizeable TextArea Component
- poj3270(置换群)
- poj1019(数学)