Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
You can see from the input (print the input out!) that there are ridiculously huge numbers.
Maybe you'd want to try this kata first ;-)
I get this
Process was terminated. It took longer than 12000ms to complete
for one test case. I assume this test case is with huge number for the factorial. I am using the iterative way to handle my factorial. Is there a better way to approach this long number case to pass the test case? thanks!