Submission #3729

# Submission time Handle Problem Language Result Execution time Memory
3729 2013-08-31T07:54:00 Z wurikiji Great Pow! (kriii1_G) C++
0 / 1
0 ms 1088 KB
#include <cstdio>                                                               

int main(void){
        long long a, k;
        scanf("%lld %lld", &a , &k );

        if( k %2 )
        {
                printf("1\n");
        }
        else
        {
                printf("%lld", a);
        }
        return 0;
}
# Verdict Execution time Memory Grader output
1 Correct 0 ms 1088 KB Output is correct
2 Incorrect 0 ms 1088 KB Output isn't correct
3 Halted 0 ms 0 KB -