Submission #12740

#TimeUsernameProblemLanguageResultExecution timeMemory
12740ainu7Great 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 (a % 2) printf("%d\n", 1); else printf("%d\n", a-1); }
#Verdict Execution timeMemoryGrader output
Fetching results...