# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
3463 | BalloonCollector | 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 <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 time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |