摘要: 1 #definde HAVE_STRUCT_TIMESPEC 2 #include<bits/stdc++.h> 3 using namespace std; 4 char s[1000007]; 5 int main(){ 6 ios::sync_with_stdio(false); 7 cin 阅读全文
posted @ 2020-02-17 22:09 sewage 阅读(195) 评论(0) 推荐(0) 编辑
摘要: 二分,尺取法,细节模拟,尤其是要注意a[i]被计算到和a[i]成对的a[j]里时 1 #define HAVE_STRUCT_TIMESPEC 2 #include<bits/stdc++.h> 3 using namespace std; 4 long long a[200007]; 5 int 阅读全文
posted @ 2020-02-17 20:43 sewage 阅读(271) 评论(0) 推荐(0) 编辑