Why is denom value taken as 1ll

why is denom value taken as
ll denom = 1ll;

To convert the number to long long

i am asking why is denom initialised as 1LL and not 1 . and if we take denom as 1 all test cases are passing still

The datatype of denom is ll so if you write just 1 also thats fine

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.