摘要:
P3372 【模板】线段树 1 #include<cstdio> #include<iostream> using namespace std; #define MAXN 1000099 #define LLD long long int #define ls id*2 #define rs id* 阅读全文
摘要:
Withdraw From OI 已经退役一周了,但还是迟迟没有去写退役记,在这个2017年的最后一天,写下这一篇沉重的“withdraw from OI”。 距离联赛成绩出来已经一个多月了。这一个月,真是充斥着人生中从未有过的犹豫,不甘,悔恨,以及信念。 联赛之前,总想着自己要凭借稳中求胜的理念好 阅读全文
摘要:
洛谷:P3391 【模板】文艺平衡树(Splay) #include <algorithm> #include <cstdio> #include <iostream> using namespace std; const int MAXN = 110000; int n, m, tp, root, 阅读全文
摘要:
传送门:http://codeforces.com/problemset/problem/543/B B. Destroying Roads time limit per test:2 seconds memory limit per test:256 megabytes B. Destroying 阅读全文