# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
4220 | dbfud | Great Pow! (kriii1_G) | C++98 | 0 ms | 1672 KiB |
This submission is migrated from previous version of oj.uz, which used different machine for grading. This submission may have different result if resubmitted.
#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 time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |