Submission #4987

#TimeUsernameProblemLanguageResultExecution timeMemory
4987tkxkd7223Great Pow! (kriii1_G)C++98
1 / 1
0 ms1088 KiB
#include <stdio.h> int main(){ int a, b; scanf("%d %d", &a, &b); if(b==0)printf("%d", a); else { if(a%2==0)printf("1"); else printf("%d", a); } return 0; }
#Verdict Execution timeMemoryGrader output
Fetching results...