84669 person learning
152542 person learning
20005 person learning
5487 person learning
7821 person learning
359900 person learning
3350 person learning
180660 person learning
48569 person learning
18603 person learning
40936 person learning
1549 person learning
1183 person learning
32909 person learning
看到一段代码,有一句是ans += yes[i] * 1LL * (yes[i] - 1) / 2;,请问1LL是什么意思?在C++中如何使用?链接:完整代码
ans += yes[i] * 1LL * (yes[i] - 1) / 2;
1LL
业精于勤,荒于嬉;行成于思,毁于随。
LL stands for long long, a 64-bit long integer type, newly defined in the C++11 standard. Its usage is an integer type with a larger range. How else do you want to use it?
LL stands for long long, a 64-bit long integer type, newly defined in the C++11 standard. Its usage is an integer type with a larger range. How else do you want to use it?