# | Submission time | Handle | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
3726 | 2013-08-31T07:53:12 Z | gs13068 | Hexagon travel (kriii1_H) | C++ | 0 ms | 1088 KB |
#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 time | Memory | Grader output |
---|---|---|---|---|
1 | Incorrect | 0 ms | 1088 KB | Output isn't correct |
2 | Halted | 0 ms | 0 KB | - |