in the final code for the problem,
there is ll denom= 1 ll;
why are there two l’s (long long) after 1?
in the final code for the problem,
there is ll denom= 1 ll;
why are there two l’s (long long) after 1?
hello @pranaynigam
by default numbers are treated as int so to typecast into long long we are doing ll.
btw for this problem it is redundant becuase we are not doing anything with 1 at the time of initialisation .
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.