So this is my solution to small factorial problem, when I tested it locally it gives the desired output but when I submit this it flags it as wrong one. Can someone let me know why it is wrong? https://www.codechef.com/problems/FCTRL2 asked 17 Oct '18, 23:46 ![]()
|
Try something like factorial(100). You need a function to handle such big numbers. Another practice for you :) answered 18 Oct '18, 00:54 ![]()
|