RECIPE problem showing runtime error SIGFPE

showing runtime error SIGFPE in problem recipe … please can someone tell my mistake in this code…

https://www.codechef.com/viewsolution/7563648

//