跳到正文

Zyq7895123

793787

资料、奖项与版本

资料

编号
793787
抓取

模拟赛总结写到了 1004

任务

1 - 2 - 3 - 4 - 5

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
C++
#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
C++
#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

NOI大纲

Graph Editor

FFT

横坐标是连续整数的 Lagrange 插值

Alt+42689 α

Alt+41428或quandengyu5 ≡

C++
fact_inv[i] = fact_inv[i - 1] * i % mod;

fact_inv[i] = fact_inv[i - 1] * inv[i] % mod;

还没有收录这位用户的文章。