Submission #3463

#TimeUsernameProblemLanguageResultExecution timeMemory
3463BalloonCollectorGreat Pow! (kriii1_G)C++98
1 / 1
0 ms1088 KiB
#include <cstdio> int main(){ long long a, k; scanf("%lld %lld", &a, &k); if( k == 0 ) printf("%lld\n", a); else if( a%2 == 0 ) puts("1"); else printf("%lld\n", a); }
#Verdict Execution timeMemoryGrader output
Fetching results...