What is 1LL or 2LL in C and C++?
The LL makes the integer literal of type long long. So 2LL, is a 2 of type long long. Without the LL, the literal would only be of type int. This matters when you’re doing stuff like this: 1 << 40 1LL << 40 With just the literal 1, (assuming int to be 32-bits, you … Read more