Submission #4986

#TimeUsernameProblemLanguageResultExecution timeMemory
4986tkxkd7223Great Pow! (kriii1_G)C++98
0 / 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(b%2==1)printf("1"); else printf("%d", a); } return 0; }
#Verdict Execution timeMemoryGrader output
Fetching results...