What is wrong in this (ppdiv)?

codechef.com/viewsolution/31947289