# | Submission time | Handle | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
3749 | 2013-08-31T08:05:33 Z | gs13068 | Great Pow! (kriii1_G) | 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 | Correct | 0 ms | 1088 KB | Output is correct |
2 | Incorrect | 0 ms | 1088 KB | Output isn't correct |
3 | Halted | 0 ms | 0 KB | - |