摘要:
Fansblog 逆元 Find the answer 树状数组维护,将每个插在排名对应的位置 Blow up the city 支配树https://blog.csdn.net/a710128/article/details/49913553 在dag上求类似的东西,用lca即可,最后用lca统计 阅读全文
摘要:
A. 加加减减即可。 #include<iostream> #include<cstdio> #include<string> #include<cstring> #include<algorithm> #include<queue> #define ll long long using names 阅读全文