# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
64398 | TAMREF | Great Pow! (kriii1_G) | C++11 | 4 ms | 812 KiB |
This submission is migrated from previous version of oj.uz, which used different machine for grading. This submission may have different result if resubmitted.
#include <cstdio>
int main(){
int a, k;
scanf("%d%d",&a,&k);
if(k == 0) printf("%d\n",a);
else printf("%d\n",a&1?a:1);
}
Compilation message (stderr)
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |