摘要: 【题解】 排序,然后枚举前两个数,再用类似two pointer的思想扫第三个数即可,不需要二分。复杂度n方。 1 #include<cstdio> 2 #include<cstring> 3 #include<algorithm> 4 #include<cmath> 5 #define LL lo 阅读全文
posted @ 2018-09-02 09:27 Driver_Lao 阅读(173) 评论(0) 推荐(0) 编辑