What does the “ll” (double L) do in the for loop in sieve implementation of this lecture?
Meaning of ll in for loop
hello @amartyaprabhakar
ll stands for long long (bhaiya has defined macro ll for long long).
we are using long long in that loop because i*i can exceed the the range of int thats why using long long
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.
Doubt cleared. Thanks a lot sir