Submission #3476

#TimeUsernameProblemLanguageResultExecution timeMemory
3476mjy0503Great Pow! (kriii1_G)C++98
0 / 1
0 ms1088 KiB
#include <stdio.h> #include <algorithm> #include <string.h> #include <vector> #include <math.h> int n; int main(){ int m,c; scanf("%d %d",&n,&m); if(n%2==1) printf("%d\n",n); else{ if(m%2==1){ printf("1\n"); } else{ printf("%d\n",n); } } return 0; }
#Verdict Execution timeMemoryGrader output
Fetching results...