kingshipwrong answer

what is wrong with this solution?
http://www.codechef.com/viewsolution/3427424
http://www.codechef.com/viewsolution/3428415

Integer overflow

1 Like
//