Sicily 1798. Alice and Bob
来源:互联网 发布:西卡淘宝店 编辑:程序博客网 时间:2024/05/15 03:51
一眼就能看出来的"博弈"
→ →
// Problem#: 1798// Author#: Reid Chan#include <iostream>using namespace std;int main() { int num; while (cin >> num && num != 0) { if (num % 2 == 0) { cout << "Alice" << endl; continue; } cout << "Bob" << endl; } return 0;}
0 0
- Sicily 1798. Alice and Bob
- sicily--1798. Alice and Bob
- Sicily 1798. Alice and Bob
- Sicily 1798. Alice and Bob
- Sicily 1732. Alice and Bob
- Sicily 13289. Alice and Bob
- Sicily 2683. Alice and Bob
- 1798. Alice and Bob
- Sicily 1732 Alice and Bob (二进制数的最大公约数)
- sicily 1798.Aclie and Bob
- Alice and Bob
- 2683. Alice and Bob
- hdu4268 Alice and Bob
- HDU4268 Alice and Bob
- Alice, Bob and Chocolate
- hdu4268 Alice and Bob
- A:Alice and Bob
- hdu4111 Alice and Bob
- Unity中多边形寻路(A*寻路的优化)(待续)
- Spring学习笔记:Spring 框架概述
- 【Access2007】将Excel表导入至Access2007的其中一张已存在的表之中
- JavaScript
- JDK安装步骤
- Sicily 1798. Alice and Bob
- 交换排序(冒泡排序、快速排序)
- free 中的buffer 和 cached
- GitHub 优秀的 Android 开源项目
- C++字符串比较strcmp-随心
- “Error: near "sqlite3”: syntax error
- 其实你没那么好
- 启发式算法
- callee,caller,call()以及apply()的用法理解以及从中引申出的关于作用域跟this的理解