# | Submission time | Handle | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
3485 | 2013-08-31T06:08:27 Z | wookayin | Great Pow! (kriii1_G) | C++ | 0 ms | 0 KB |
int main() { int a,k; scanf("%d%d",&a,&k); printf("%d\n", (k==0||a%2) ? a : 1); return 0; }
# | Submission time | Handle | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
3485 | 2013-08-31T06:08:27 Z | wookayin | Great Pow! (kriii1_G) | C++ | 0 ms | 0 KB |
int main() { int a,k; scanf("%d%d",&a,&k); printf("%d\n", (k==0||a%2) ? a : 1); return 0; }