
Gym
等我学会后缀自动机
侠影之谜
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
Gym 102012G Rikka with Intersections of Paths (树上差分+LCA)
#include<bits/stdc++.h> using namespace std; #define debug cout<<"YES\n"; #define rep(x,y,z) for(int (x)=(y);(x)<(z);(x)++) #define ll long long #define lrt int l,int r,int rt #define ...原创 2020-02-17 22:19:22 · 526 阅读 · 0 评论 -
Gym 101142G Gangsters in Central City (动态倍增LCA+DFS序性质)
#include<bits/stdc++.h> using namespace std; #define debug cout<<"YES\n"; #define rep(x,y,z) for(int (x)=(y);(x)<(z);(x)++) #define ll long long #define lrt int l,int r,int rt #define ...原创 2020-02-16 22:19:30 · 220 阅读 · 0 评论 -
2018-2019 XIX Open Cup, Grand Prix of Korea解题报告(有待更新
H(模拟): #include<bits/stdc++.h> using namespace std; #define debug puts("YES"); #define rep(x,y,z) for(int (x)=(y);(x)<(z);(x)++) #define ll long long #define lrt int l,int r,int rt #defin...原创 2019-04-24 18:28:23 · 1838 阅读 · 0 评论 -
Gym 100796题解(个人版
和队友进行了这场模拟赛,本弱只做出来五题...... 当然队伍总共过了九题,,算是不错的成绩了. A #include<bits/stdc++.h> using namespace std; #define debug puts("YES"); #define rep(x,y,z) for(int (x)=(y);(x)<(z);(x)++) #define ll...原创 2019-06-04 11:39:43 · 335 阅读 · 0 评论