Submission #3715

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