# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
3705 | hhosu107 | Great Pow! (kriii1_G) | C++98 | 0 ms | 1088 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 <stdio.h>
long long int a , k;
long long int t;
int main()
{
scanf("%lld %lld", &a, &k);
if(a % 2 == 1) printf("%d\n", a);
else if(k % 2 == 0) printf("%d\n", a);
else printf("1\n");
return 0;
}
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |