模拟赛总结写到了 1004
Graph Editor - Another Graph Editor
https://oi.wiki/graph/mst/#boruvka-%E7%AE%97%E6%B3%95
Nim游戏
https://oi.wiki/math/combinatorics/stirling/
KMP应用
算空间
在调完代码后记得关流
-O2 -std=c++14 -Wl,--stack,268435456#include<bits/stdc++.h>
#define int long long
#define PII pair <int, int>
using namespace std;
bool bbb;
bool eee;
signed main() {
ios::sync_with_stdio(0);
cin.tie(0), cout.tie(0);
cerr << abs(&bbb - &eee) / 1024.0 / 1024 << '\n';
return 0;
}echo off
:loop
data.exe
t.exe
force.exe
fc t.out force.out
if errorlevel 1 pause
goto loop#include<bits/stdc++.h>
#define int long long
#define PII pair <int, int>
using namespace std;
signed main() {
ios :: sync_with_stdio(0);
cin.tie(0), cout.tie(0);
while(1) {
system("data.exe");
system("t.exe");
system("std.exe");
if(system("fc t.out std.out")) return 0;
}
return 0;
}https://oi-wiki.org/math/number-theory/basic/#%E5%8F%96%E6%95%B4%E5%87%BD%E6%95%B0
Alt+42689 α
Alt+41428或quandengyu5 ≡
fact_inv[i] = fact_inv[i - 1] * i % mod;
fact_inv[i] = fact_inv[i - 1] * inv[i] % mod;