摘要: 入门级数据结构算法。复习一下,分别手写一个。 线段树版本(过了CF上的https://codeforces.com/contest/1291/problem/D): 1 #include<bits/stdc++.h> 2 #define f(i,a,b) for(int i=a;i<=b;i++) 阅读全文
posted @ 2020-02-08 11:39 Lovaer 阅读(812) 评论(0) 推荐(0) 编辑