算法模板(C++、Python)常用算法代码

此模板限于MAC上的Clion

C++ 模 板

#include <cstdio>
#include <cstring>
#include <iostream>
#include <algorithm>

using namespace std;
#define INF 1e7
#define N 100010
#define M 100010

int main() {
    int n, m;
    freopen("../test.txt", "r", stdin);
    while( ~scanf("%d%d", &n, &m) ){
        printf("%d %d\n", n, m);
    }
    return 0;
}

Python 模板

猜你喜欢

转载自blog.csdn.net/u012969412/article/details/81383307