#include<iostream> #include<cstdio> #include<cmath> #include<cstring> #include<algorithm> using namespace std; #define pf printf #define sf scanf #define loop(i, n) for(i=0; i<n; i++) #define MAX 100 int min(int n, int m) { if(n>m) return m; else return n; } int main() { int n, m; cin >> n >> m; int temp = min(n, m); if(temp & 1) cout << "Akshat" << endl; else cout << "Malvika" << endl; return 0; }
Friday, May 1, 2015
451A - Game With Sticks (Codeforces)
Subscribe to:
Post Comments (Atom)
Compare equality of two string in C
#include <stdio.h> #include<string.h> int main() { char* country = "Bangladesh"; char* country2; ...
-
#include<iostream> #include<cstdio> #include<cmath> #include<cstring> #include<algorithm> using namespac...
-
#include<iostream> #include<cstdio> #include<algorithm> #include<cmath> #include<cstring> #include<ve...
-
#include<iostream> #include<cstdio> #include<cmath> #include<cstring> using namespace std; #define pf printf ...
No comments:
Post a Comment