摘要:
题目思路直接,用分桶法管理每一块的最大值和最小值就可以 #include<cstdio> #include<cmath> #include<iostream> #include<algorithm> #include<vector> #include<string> #include<map> #d 阅读全文
摘要:
第一次尝试分桶法,很不顺利,还是太菜了。基本上是借鉴别人的代码,不过还是有很多地方不太懂 ///分块思想本质是统计的方法 #include<cstdio> #include<algorithm> #include<vector> #include<iostream> #include<string> 阅读全文