Codeforces #258 (Div. 2) A. Game With Sticks
来源:互联网 发布:打车软件分析报告 编辑:程序博客网 时间:2024/06/06 09:39
很简单的一道题,取行列中较小值对2取模即可
证明就省略了吧
代码如下:
<span style="font-size:18px;">#include <cstdio>#include <iostream>#include <algorithm>#define MAXN 10010#define LL long longusing namespace std;int main(void) { int a, b; while(cin >> a >> b) { a = min(a, b); if(a % 2) { cout << "Akshat" << endl; } else cout << "Malvika" << endl; } return 0;}</span>
0 0
- Codeforces #258 (Div. 2) A. Game With Sticks
- Codeforces Round #258 (Div. 2)1A Game With Sticks
- Codeforces Div. 2 #258-A. Game With Sticks
- Codeforces Round #258 (Div. 2) A. Game With Sticks
- Codeforces Round #258 (Div. 2) A. Game With Sticks(数学题)
- codeforces 258 A Game With Sticks(水题)
- Codeforces Round #258 (Div. 2/A)/Codeforces451A_Game With Sticks
- Codeforces 451A Game With Sticks
- Codeforces 451A Game With Sticks(水题)
- Codeforces 451A Game With Sticks
- Codeforces 451 A . Game With Sticks
- codeforces 451A Game With Sticks
- A. Game With Sticks
- A. Game With Sticks
- CF 258A. Game With Sticks
- [Codeforces 451A] Game With Sticks (博弈)
- 451 A. Game With Sticks
- 451A - Game With Sticks
- Codeforces #258 (Div. 2) B. Sort the Array
- 对于效率的一点感慨
- 列:取第几列的内容20140724 ①文本处理
- linux zip压缩和解压的各种操控
- android_储存_cookie
- Codeforces #258 (Div. 2) A. Game With Sticks
- Linux的僵尸进程解决攻略
- 对教育的一点看法
- gfwgwsgwsgw
- fgvwgwgwggwgw
- 阿萨德发福
- fgwggwgwgwgw
- Codeforces #258 (Div. 2) C. Predict Outcome of the Game
- (linux shell)第一章--小试牛刀(上)