A. Game With Sticks
来源:互联网 发布:闲鱼淘宝介入怎样才赢 编辑:程序博客网 时间:2024/05/17 02:19
其实就会找出xy最小的一个,再判断奇偶就OK
#include<iostream>
#include<stdio.h>
using namespace std;
int main(){
int x,y;
while(cin>>x>>y){
int t=x>y?y:x;
if(t%2==0)
printf("Malvika\n");
else
printf("Akshat\n");
}
}
0 0
- A. Game With Sticks
- A. Game With Sticks
- 451 A. Game With Sticks
- 451A - Game With Sticks
- codeforces 258 A Game With Sticks(水题)
- Codeforces 451A Game With Sticks
- Codeforces 451A Game With Sticks(水题)
- Codeforces 451A Game With Sticks
- Codeforces 451 A . Game With Sticks
- CF 258A. Game With Sticks
- codeforces 451A Game With Sticks
- LeetCode Game With Sticks
- Codeforces #258 (Div. 2) A. Game With Sticks
- Codeforces Round #258 (Div. 2)1A Game With Sticks
- Code forces #258 div2 A.Game With Sticks
- Codeforces Div. 2 #258-A. Game With Sticks
- Codeforces Round #258 (Div. 2) A. Game With Sticks
- [Codeforces 451A] Game With Sticks (博弈)
- hdu1754线段树
- LeetCode OJ - Rotate List
- Makefile常用函数
- CodeIgniter Apache服务器 htaccess SEO重写写法
- Python学习18:os标准库模块使用(一)
- A. Game With Sticks
- 【积累】嵌入式iframe子页面与父页面js通信方式
- 珍惜有事可做的日子
- Oracle的备忘一些经常出错的地方 长期更新
- hdu 4857 逃生
- Git分支管理策略
- 2014/7/25
- ibatis 报错mysql中的主键没有默认值
- (linux shell)第一章--小试牛刀(下)