Submission #3726

#TimeUsernameProblemLanguageResultExecution timeMemory
3726gs13068Hexagon travel (kriii1_H)C++98
0 / 1
0 ms1088 KiB
#include<cstdio> int main() { int a,k; scanf("%d%d",&a,&k); if(a%2)printf("%d",a); else if(k%2)printf("1"); else printf("%d",a); }
#Verdict Execution timeMemoryGrader output
Fetching results...