# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
3726 | gs13068 | Hexagon travel (kriii1_H) | 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<cstdio>
int main()
{
int a,k;
scanf("%d%d",&a,&k);
if(a%2)printf("%d",a);
else if(k%2)printf("1");
else printf("%d",a);
}
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |