08 2021 档案
摘要:引子——快读 inline int read() { char ch;int x=0; while((ch=getchar())<33); for(;ch>='0'&&ch<='9';x=x*10+ch-'0',ch=getchar()); return x; } 这段代码已经经过了一定程度的优化。
阅读全文
摘要:先把板子放在这里,以后忘了就回来看( 这份代码在P6136 【模板】普通平衡树(数据加强版)能跑到长达最优解四倍的时间。 果然人蒻常数巨大。 #include <bits/stdc++.h> using namespace std; const int INF=0x7fffffff; int n,m
阅读全文