吸氧或者在main函数的最前面添加
std::ios::sync_with_stdio(false);
std::cin.tie(0);
by guanyiqing123 @ 2023-08-13 11:17:55
输入输出优化一下就过了
```cpp
ios::sync_with_stdio(0);
cin.tie(0);
cout.tie(0);
```
这段代码加在输入输出前;
```cpp
int main(){
ios::sync_with_stdio(0);
cin.tie(0);
cout.tie(0);
cin>>n;
}
```
by yshs @ 2023-08-13 11:20:53
谢谢大佬助我AC
by gzy0215 @ 2023-08-13 11:27:47