摘要: 之前用树状数组做这道题,没发现有什么问题。用线段数组后,总是报 runtime Error。后来发现是数组开小了。 include include include include using namespace std; const int maxn = 500010; struct Num { i 阅读全文
posted @ 2017-11-29 16:41 tmortred 阅读(102) 评论(0) 推荐(0) 编辑