Submission #4348

#TimeUsernameProblemLanguageResultExecution timeMemory
4348zorrapowerGreat Pow! (kriii1_G)C++98
1 / 1
0 ms1088 KiB
#include<stdio.h> long long pow(long long a, long long k); int main(void){ long long a, k; scanf("%lld %lld", &a, &k); if(k==0) printf("%lld", a); else if(a%2==0) printf("1"); else printf("%lld",a); return 0; }
#Verdict Execution timeMemoryGrader output
Fetching results...