Any trick cases for this problem?
My program outputs correctly upto 100! , but gives wrong answer.
Submission ID : 5572549
Can you please give me the test case where it fails?
Thanks
Problem : FCTRL2 Problem - CodeChef
My solution : CodeChef: Practical coding for everyone
EDIT: sorry , i updated the solution
your code gives wrong output for 95 factorial .
the answer is 103299784882390592625997020993947270953977463401173728692122505712342939875947031248717653753854244685632
82236864226607350415360000000000000000000000
but your code gives
032997848823905926259970209939472709539774634011737286921225057123429398759470312487176537538542446856328
2236864226607350415360000000000000000000000
see the links
correct output
wrong output
3 Likes
Thanks , this led me exactly to the bug 
welcome And you got AC
, congratulations !!