Submission #4220

#TimeUsernameProblemLanguageResultExecution timeMemory
4220dbfudGreat Pow! (kriii1_G)C++98
1 / 1
0 ms1672 KiB
#include <iostream> using namespace std; int main() { int M, N = 0; cin >> M >> N ; if ( N == 0 ) { cout << M; return 0; } if ( M % 2 == 0 ) cout << 1 ; else cout << M ; return 0; }
#Verdict Execution timeMemoryGrader output
Fetching results...