In the first video of the prime sieve method , in the for loop bhaiya has used ll , what is the meaning of ll , I am not able to implement it in my code blocks compiler what can be the problem , please help me resolve the issue ?
Prime sieve method of number theory
It means long long.
He must have used a macro (below all the headers)
#define long long ll
Numbers > 10^9 cannot be stored in an int variable. So long long was uded
but when I am compiling it in code blocks IDE , it is giving me an error saying that ll was not declared in this scope , should I use long long instead?
Save your code on ide.codingblocks.com and share its link.
You would not have used #define long long ll
It worked after defining it , thanks
sorry for the late response.
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.