Wrong Answer
/in/foo.cc: In function 'long long int ksm(long long int, long long int, long long int)': /in/foo.cc:13:1: warning: no return statement in function returning non-void [-Wreturn-type] } ^
/in/foo.cc: In function 'long long int ksm(long long int, long long int, long long int)': /in/foo.cc:13:1: warning: no return statement in function returning non-void [-Wreturn-type] } ^