位运算一定要注意 int 和 long long 的区别。
int
long long
比如 1<<x 返回值为 int 类型,而 1LL<<x 返回值为 long long 类型。
1<<x
1LL<<x