摘要: 一开始用双指针,发现没有单调性,不可以用。但是这种写法有点像双指针,暂时归到双指针。 #include<iostream> #include<map> using namespace std; const int N = 1010; int a[N]; int n; map<int, int> st 阅读全文
posted @ 2020-08-22 22:27 yys_c 阅读(268) 评论(0) 推荐(0)