摘要:
树链剖分..对于每个宗教都建一颗线段树 , 然后动态开点..------------------------------------------------------------------------------------------#include#include#include#inclu... 阅读全文
摘要:
splay..( BZOJ 1507 题目基本相同..双倍经验 )-----------------------------------------------------------------------------#include#include#include#include#define ... 阅读全文
摘要:
因为没注意到long long 就 TLE 了...二分一下答案就Ok了..------------------------------------------------------------------------------#include#include#include#include#d... 阅读全文