Query about other data types

what about float double? How many operations can be done in 1 s?How to store numbers in an array?

u can in no way do a O ( N! ) on N having a range 10^9
in the below picture its shows what max time complexity operations we can apply given the range of N

so u cannot compute factorial for N ranging to 10^9

https://codeforces.com/blog/entry/21344

The doubt was reopened. Is your doubt resolved?

No I am getting confused with ranges and when and how to avoid TLE by seeing the constraints

For that you can refer this video