Joa*_*son 5

3000000 ^ 2小于2 ^ 48,因此uint64_t来自cstdintstdint.h将保持您的数字具有良好的保证金.

  • `^`是按位xor运算符.C++没有取幂运算符 (5认同)