# | Submission time | Handle | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
4986 | 2014-01-23T17:14:50 Z | tkxkd7223 | Great Pow! (kriii1_G) | C++ | 0 ms | 1088 KB |
#include <stdio.h> int main(){ int a, b; scanf("%d %d", &a, &b); if(b==0)printf("%d", a); else { if(b%2==1)printf("1"); else printf("%d", a); } return 0; }
# | 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 | - |