Submission #12743

#TimeUsernameProblemLanguageResultExecution timeMemory
12743ainu7Great Pow! (kriii1_G)C++98
1 / 1
0 ms1676 KiB
#include <math.h> #include <stdio.h> #include <string.h> #include <vector> #include <string> #include <queue> #include <map> #include <algorithm> #include <cmath> #include <iostream> #include <sstream> #include <set> using namespace std; int main() { int a, k; cin >> a >> k; if (k > 0 && a % 2 == 0) printf("%d\n", 1); else printf("%d\n", a); }
#Verdict Execution timeMemoryGrader output
Fetching results...