# | Submission time | Handle | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
3703 | 2013-08-31T07:44:41 Z | gs13105 | Great Pow! (kriii1_G) | C++ | 0 ms | 1088 KB |
#include <stdio.h> int main() { int a,k; scanf("%d%d",&a,&k); if(k==0) printf("%d",a); else { if(a%2) printf("-1"); else printf("1"); } return 0; }
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Incorrect | 0 ms | 1088 KB | Output isn't correct |
2 | Halted | 0 ms | 0 KB | - |