2019独角兽企业重金招聘Python工程师标准>>> 
#codeforce 285 div2 D 题解
##说明 这道题目是看了思路分析才知道的,关键问题在于数据量过大,需要快速检索的同时不能辅助空间过大. 因此利用了下面3种方法结合解决该问题
##代码
/**
* @brief Codeforces Round #285 (Div. 2) d
* @file d.cpp
* @author mianma
* @created 2015/01/27 18:18
* @edited 2015/01/29 22:45
* @type math tree
*/
#include
#include
#include
#include
#include
#include