Submission #4219

#TimeUsernameProblemLanguageResultExecution timeMemory
4219dbfudGreat Pow! (kriii1_G)C++98
0 / 1
0 ms1668 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 if ( N == 0 ) cout << M ; return 0; }
#Verdict Execution timeMemoryGrader output
Fetching results...