代码框架,兼容年级多种码风,带 read() 函数

· · 个人记录

lyc(本人)码风

#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef unsigned long long ull;
typedef long double ld;

int xxx;
const int N = xxx;

int xxx[N];

int read()
{
    int x = 0, f = 1;
    char ch = getchar();
    while (ch < '0' || ch > '9')
    {
        if (ch == '-') f = -1;
        ch = getchar();
    }
    while (ch >= '0' && ch <= '9')
    {
        x = (x << 3) + (x << 1) + ch - '0';
        ch = getchar();
    }
    return f * x;
}

void solve()
{

}

int main()
{
    //fropen("xxx.in", "r", stdin);
    //fropen("xxx.out", "w", stdout);
    solve();
    return 0;
}
//O(xxx), O(xxx), xxx pts, xx:xx to xx:xx