严肃升级代码框架

· · 个人记录

#include <bits/stdc++.h>
using namespace std;

#define OpenFile freopen
using LL = long long int;
using ll = long long int;

inline LL read (void) {
    LL s = 0, f = 1;
    char ch = getchar_unlocked ();
    while (ch > '9' || ch < '0') {
        if (ch == '-') f = -f;
        ch = getchar_unlocked ();
    }
    while (ch >= '0' && ch <= '9') {
        s = (s << 3) + (s << 1) + (ch ^ 48);
        ch = getchar_unlocked ();
    }
    return s * f;
}
inline void write (LL num) {
    if (num == 0) {
        putchar_unlocked ('0');
        return;
    }
    if (num < 0) {
        putchar_unlocked ('-');
        num = -num;
    }
    char st[20] = {};
    LL top = 0;
    while (num != 0) {
        st[++ top] = num % 10 | 48;
        num = num / 10;
    }
    // 手写栈代替 stl 栈
    while (top != 0) {
        putchar_unlocked (st[top --]);
    }
    return;
}

void solve (void) {
    // TODO
    return;
}

signed main (void) {
    solve ();
    // 现在不用 input (), solve (), output (); 的三体运动了()
    return 0;
}