请选择左侧的年份和题目开始评测
提交代码
// 文件读写模板(文件名 = 题面英文名)
#include <bits/stdc++.h>
using namespace std;
int main() {
freopen("problem.in", "r", stdin);
freopen("problem.out", "w", stdout);
// 你的代码……
return 0;
}
#include <bits/stdc++.h>
using namespace std;
int main() {
freopen("problem.in", "r", stdin);
freopen("problem.out", "w", stdout);
// 你的代码……
return 0;
}
⚠️ 复赛必坑:不写 freopen 或文件名拼错(含大小写),整题直接 0 分。文件名必须与题面完全一致。
📁 点击或拖拽上传 .cpp 源文件(也可在下方直接粘贴代码)