Submission #3504

#TimeUsernameProblemLanguageResultExecution timeMemory
3504mjy0503Great Pow! (kriii1_G)C++98
1 / 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>=1){ printf("1\n"); } else{ printf("%d\n",n); } } return 0; }
#Verdict Execution timeMemoryGrader output
Fetching results...