# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
4264 | joonas | 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>
int gpow( int a, int k ){
if( k==0 || a%2 ) return a;
return 1;
}
int main(){
int a, k;
scanf("%d %d", &a, &k);
printf("%d\n", gpow(a, k));
return 0;
}
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |