Submission #3462

#TimeUsernameProblemLanguageResultExecution timeMemory
3462jihoonGreat 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){ printf("%d",a); }else{ printf("1"); } } return 0; }
#Verdict Execution timeMemoryGrader output
Fetching results...