451A - Game With Sticks

来源:互联网 发布:天涯4000w数据库 网盘 编辑:程序博客网 时间:2024/05/14 17:35
#include <cmath>#include <cstdio>#include <cstdlib>#include <cstring>#include <iostream>#include <string>#include <vector>#include <queue>#include <algorithm>using namespace std;int main() {    int n, m, x;    cin >> n >> m;    x = min(n, m);    if(x % 2 == 0) {        cout << "Malvika" << endl;    } else {        cout << "Akshat" << endl;    }    return 0;}

0 0
原创粉丝点击