缺省源

发布时间 2023-11-10 20:01:57作者: STA_Morlin
  • VSCode.json:
{
    "workbench.colorTheme": "Default High Contrast Light",
    "files.autoSave": "afterDelay",
    "files.autoSaveDelay": 10,
    "editor.cursorBlinking": "expand",
    "workbench.list.smoothScrolling": true,
    "editor.smoothScrolling": true,
    "terminal.integrated.smoothScrolling": true,
    "editor.cursorSmoothCaretAnimation": true,
    "terminal.integrated.enableMultiLinePasteWarning": false
}
  • cpp
/*
compiling in 
ide 
g++ test.cpp -o test && ./test
*/
#include <bits/stdc++.h>
#include <bits/extc++.h>
namespace {
#define filein(x) freopen(x".in", "r", stdin)
#define fileout(x) freopen(x".out", "w", stdout)
#define file(x) filein(x), fileout(x)
using namespace std;
using namespace __gnu_pbds;
#define ll long long
#define db double
// template <typename T>
// #define pair<T> pair<T, T>
#define pii pair<int, int>
#define pll pair<ll, ll>
#define pdb pair<db, db>
#define mp(x, y) make_pair(x, y)
#define max (x>y?x:y)
#define min (x<y?x:y)
const int man = 2e6+10, mam = 1e5+10;
class Graph {
private:
    int len;
    void Ins (int u, int v) {
        ver[++len] = v;
        nxt[len] = hed[u];
        hed[u] = len;
        return ;
    }
public:
    int hed[man], nxt[mam<<1], ver[mam<<1], dis[mam<<1];
    void DIns (int u, int v) {
        Ins(u, v), Ins(v, u);
        return ;
    }
} ;
}

int n;
ll res;
int a[man];
int main () {
    file("test");
    scanf("%d\n", &n);
    printf("%lld", res);
    return 0;
}

// ---