看到一段代码,有一句是ans += yes[i] * 1LL * (yes[i] - 1) / 2;
,请问1LL
是什么意思?在C++中如何使用?
链接:完整代码
伊谢尔伦2017-04-17 15:05:33
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?