建议时限改成500ms
查看原帖
建议时限改成500ms
1085788
Feynman5210楼主2024/12/3 20:15

关个流同步就行了。
关流同步:https://www.luogu.com.cn/record/192654338
不关流:https://www.luogu.com.cn/record/192654426
关流同步代码:

#include<iostream>
//something;
using namespace std;
//something;
int main(){
    //以下为关流同步代码
    ios::sync_with_stdio(0);
    cin.tie(0),cout.tie(0);
    //something;
    return 0;
}
2024/12/3 20:15
加载中...