由于n<=1500,long long是不行的
要用高精度,开1500个数位即可
by perfecter @ 2022-03-13 15:08:06
谢谢,成功了
by yukaixin @ 2022-03-13 16:54:23
```cpp
#include <iostream>
#include <cmath>
using namespace std;
int main(){
int n;
long long s;
cin>>n;
s = pow(2,n) - 1;
cout<<s;
return 0;
}
```
HELP! 60分,帮帮我!
by luogu_user @ 2022-06-08 12:17:52
@[luogu_user](/user/732101) 要用高精度
by pedle @ 2022-08-18 09:17:12