摘要:
A template of discretization + scaning line + segment tree. It's easy to understand, but a little difficult for coding as it has a few details. 阅读全文
摘要:
```cpp include include include include include define R(a,b,c) for( register int (a) = (b); (a) = (c); (a)) define Max(a,b) ((a) = (b) ? (a) : (b)) de 阅读全文
摘要:
1401 兔子与兔子 0x10「基本数据结构」例题 描述 很久很久以前,森林里住着一群兔子。有一天,兔子们想要研究自己的 DNA 序列。我们首先选取一个好长好长的 DNA 序列(小兔子是外星生物,DNA 序列可能包含 26 个小写英文字母),然后我们每次选择两个区间,询问如果用两个区间里的 DNA 阅读全文