返回首页 C++ 模板

C++框架模板

竞赛最基础的模板:主函数框架,所有题目的起点

C++框架 main GESP1
#include <bits/stdc++.h>
using namespace std;

int main() {
    ios::sync_with_stdio(false);
    cin.tie(nullptr);

    // ====== 在这里写你的代码 ======


    // =============================
    return 0;
}

📖 要点说明

⚠️ 常见错误