int和long long的取值范围比10的几次方小

int

2^31 > 10^9
2^32 >10^9

long long

2^63 > 10^18
2^64 >10^19

例题链接

你可能感兴趣的:(刷题小心得,c++,算法)