Submission #12742

#TimeUsernameProblemLanguageResultExecution timeMemory
12742ainu7Great Pow! (kriii1_G)C++98
0 / 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) printf("%d\n", 1); else printf("%d\n", a); }
#Verdict Execution timeMemoryGrader output
Fetching results...