Home  >  Q&A  >  body text

1LL在C++中是什么意思?

看到一段代码,有一句是ans += yes[i] * 1LL * (yes[i] - 1) / 2;,请问1LL是什么意思?在C++中如何使用?
链接:完整代码

迷茫迷茫2713 days ago1735

reply all(1)I'll reply

  • 伊谢尔伦

    伊谢尔伦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?

    reply
    0
  • Cancelreply