摘要:
code: #include<bits/stdc++.h>//xfl using namespace std; const int N = 1e5+5; struct Biao{int v,nxt;}b[N]; int h,cnt,n,k,x; void addhead(int x){b[++cnt 阅读全文
posted @ 2020-12-18 15:59
纸上的彩虹
阅读(72)
评论(0)
推荐(0)
摘要:
题目: 双指针+桶优化 code: #include<bits/stdc++.h> using namespace std; const int N=1e5+5; int tong[N],a[N],n; int read() { int f=1,ans=0;char c=getchar(); whi 阅读全文
posted @ 2020-12-18 15:05
纸上的彩虹
阅读(172)
评论(0)
推荐(0)
浙公网安备 33010602011771号