small factorial

I am getting wrong answer for small factorial although on my system it is giving me correct answer for 100! also …plz help…I have checked my answer on all test cases from 1 to 100
my soln id is [4346761]

check out the tutorial for this problem.

arunima7kriti In your solution instead of “i++;”, you have written “i=i++;”. Change that and you will get Green tick.
I have tried your solution. see this solution Link

1 Like

@subham_pasari 's karma is -89, not -189. yet another bug in codechef.