摘要:
题目思路直接,用分桶法管理每一块的最大值和最小值就可以 #include<cstdio> #include<cmath> #include<iostream> #include<algorithm> #include<vector> #include<string> #include<map> #d 阅读全文
posted @ 2018-04-01 23:13
MalcolmMeng
阅读(143)
评论(0)
推荐(0)
摘要:
第一次尝试分桶法,很不顺利,还是太菜了。基本上是借鉴别人的代码,不过还是有很多地方不太懂 ///分块思想本质是统计的方法 #include<cstdio> #include<algorithm> #include<vector> #include<iostream> #include<string> 阅读全文
posted @ 2018-04-01 10:14
MalcolmMeng
阅读(157)
评论(0)
推荐(0)

浙公网安备 33010602011771号