# | Submission time | Handle | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
13841 | 2015-04-04T05:50:07 Z | kipa00 | Great Pow! (kriii1_G) | C++ | 0 ms | 1084 KB |
#include <cstdio> int main() { int a, b; scanf("%d%d", &a, &b); printf("%d\n", b?((a&1)?(a-1):1):1); return 0; }
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Incorrect | 0 ms | 1084 KB | Output isn't correct |
2 | Halted | 0 ms | 0 KB | - |