返回顶部
摘要: 模板 数学 [模板 整除分块] "模板 组合数" "模板 线性筛" "模板 卢卡斯定理" [模板 自适应辛普森积分] "模板 二次剩余" "模板 扩展欧几里得算法" "模板 扩展中国剩余定理" "模板 扩展大步小步算法" "模板 min25筛" "模板 多项式" "模板 快速傅里叶变换" "模板 快 阅读全文
posted @ 2019-08-19 22:38 Inko 阅读(238) 评论(0) 推荐(0) 编辑
摘要: ```cpp include define ll long long define re register define gc get_char define cs const namespace IO{ inline char get_char(){ static cs int Rlen=1 in 阅读全文
posted @ 2019-10-27 16:21 Inko 阅读(116) 评论(0) 推荐(0) 编辑
摘要: ```cpp include using namespace std; typedef long long ll; const int MAXN = 3e5 + 51, MOD = 998244353, G = 3, INVG = 332748118; int exponent, fd, cnt = 阅读全文
posted @ 2019-10-27 16:16 Inko 阅读(129) 评论(0) 推荐(0) 编辑
摘要: ```cpp include using namespace std; typedef long long ll; const int MAXN = 100000 + 5; //MAXN = sqrt(MAXINPUTN) const ll MOD = 1000000007, inv2 = 5000 阅读全文
posted @ 2019-10-27 16:14 Inko 阅读(121) 评论(0) 推荐(0) 编辑
摘要: ```cpp include using namespace std; typedef long long ll; int solve(); int main() { ifdef Yinku freopen("Yinku.in","r",stdin); endif // Yinku solve(); 阅读全文
posted @ 2019-10-27 16:12 Inko 阅读(122) 评论(0) 推荐(0) 编辑
摘要: ```cpp include define ll long long using namespace std; //N为n^(2/3)最快 int n; const int MAXN=5e6; unordered_map Smu; unordered_map Sphi; ll sump[MAXN+5 阅读全文
posted @ 2019-10-27 16:09 Inko 阅读(88) 评论(0) 推荐(0) 编辑
摘要: ```cpp include using namespace std; typedef long long ll; int n, m; const int MAXN = 1000005; int tot, v[MAXN], l[MAXN], r[MAXN], d[MAXN]; int gc[MAXN 阅读全文
posted @ 2019-10-27 16:01 Inko 阅读(87) 评论(0) 推荐(0) 编辑
摘要: ```cpp include using namespace std; typedef long long ll; inline int read() { char c = getchar(); int x = 0, f = 1; while(c '9') { if(c == ' ') f = 1; 阅读全文
posted @ 2019-10-27 15:50 Inko 阅读(142) 评论(0) 推荐(0) 编辑
摘要: Problem C Medical Checkup 题意(大概):用n个人要排队体检,都必须从第1个项目开始体检,依次体检下去。其中第2个人必须在第1个人检查完第1个项目之后开始检查第1个项目。某个人体检每个项目的时间花费都是确定的。问t时刻每个人正在体检的项目是什么,假如t时刻某人已经体检完成,则 阅读全文
posted @ 2019-10-26 23:12 Inko 阅读(195) 评论(0) 推荐(0) 编辑
摘要: https://ac.nowcoder.com/acm/contest/1221/E 想了一下,然后用文本编辑器魔改就过了,注意开空间要预留新加入的点。 include using namespace std; typedef long long ll; define ls(p) ch[p][0] 阅读全文
posted @ 2019-10-26 00:02 Inko 阅读(150) 评论(0) 推荐(0) 编辑
摘要: https://www.cnblogs.com/kubixuesheng/p/5156492.html "【uml】 九种图之活动图(Activity Diagram))" 阅读全文
posted @ 2019-10-25 10:01 Inko 阅读(337) 评论(0) 推荐(0) 编辑