1<<64
。测试:using namespace std;
#include <iostream>
int main(){
cout<<(1<<64)<<endl;
cout<<(1ll<<64)<<endl;
cout<<(1ull<<64)<<endl;
int k=64;
cout<<(1<<k)<<endl;
cout<<(1ll<<k)<<endl;
cout<<(1ull<<k)<<endl;
return 0;
}
结果:
0
0
0
1
1
1
原文:https://www.cnblogs.com/jz-597/p/13945888.html