Virat and factorial hacker blocks

simple factorial program… but not able to pass test cases.
https://hack.codingblocks.com/app/practice/1/524/problem

@chaman9 size of N can be up to 100 and you cannot store factorial of 100 in long long int.so you cannot use basic factorial technique here to find the factorial.you have to come up with technique in which you can store factorial of 100.(hint: use an array to store all the digits of your answer).

ohkay i got it… thanks

I dont have much idea about vectors… but can we do with it?

@chaman9 implementing these with vector may get complicated ,array will be better.

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.