poj 2484
来源:互联网 发布:金山卫士 源码 编辑:程序博客网 时间:2024/06/03 16:29
#include<iostream>#include <stdio.h>#include<memory.h>#define MAX 1000010#define N 100010using namespace std;/*只要n>2 bob 和Alice采取相同的策略就能胜利*/int main(){int n;while(~scanf("%d",&n)&&n) { if(n<=2)printf("Alice\n"); else printf("Bob\n"); }return 0; }
0 0
- poj 2484
- poj-2484
- poj 2484
- 【POJ】2484
- POJ 2484 简单博弈
- poj 2484 博弈
- POJ 2484 (博弈)
- 对称博弈 POJ 2484
- POJ 2484 简单博弈
- POJ
- poj
- POJ
- POJ
- poj
- poj
- POJ
- POJ
- poj
- recycleview多item布局的实现(简单聊天界面)
- 最精简的XML格式与数组的互相转换
- 设备和模块的分类
- javascript面向对象
- del node
- poj 2484
- 计算机视觉之图像分割——分水岭算法WaterShed
- iBET Win Poker Game Card Lucky Draw Giveaway
- Matlab 5. 常用的数据处理函数:cat,zscore,permute,bsxfun,floor,.*和*。
- 问题 B: 万妖穴
- 使用IntelliJ IDEA开发SpringMVC网站(二)框架配置
- spring boot jsp mvc jpa mysql
- 简单的增删改查、时间函数
- free函数释放malloc分配的内存,这块内存情况