wdym by
ll denom=1ll
here ll is long long, just saying
I do not understand a syntax
@sshreya2912
Yes, ll is long long.
1LL means 1 whose datatype is long long .
It is a good practice to initialise long long variables to long long values. It may not be evident why in this case. but try to run this code.
long long a = 1LL;
cout << max(a, 2);
it will show error because in max() a is long long and 2 is int.
to make this work, we do max(a,2LL).
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.