【HDU】5390 tree【线段树套字典树】
传送门:【HDU】5390 tree操作记得离线到每个线段树节点中,否则在线做,空间可能爆炸……my code:my~~code:#pragma comment(linker, "/STACK:16777216")#include <stdio.h>#include <string.h>#include <stdlib.h>#include <vector>#include <algor