正文
增加 12 行删除 12 行
4 行未改动5678910111213141516171819202122232425262717 行未改动45464748495051525319 行未改动7374757677787980818283848586878889909122 行未改动11411511611711811912012112212312412513 行未改动1391401411421431444 行未改动struct node{int x,y;friend bool operator < (node p,node q){if(p.x!=q.x)return p.x<q.x;return p.y<q.y}friend bool operator > (node p,node q){if(p.x!=q.x)return p.x>q.x;return p.y>q.y}};```### [[蓝桥杯 2015 国 B] 密文搜索](https://www.luogu.com.cn/problem/P8630)```cpp#include<bits/stdc++.h>using namespace std;string s;map <string,int> m;int t,ans;signed main(){cin>>s>>t;while(t--){string a;17 行未改动### [[蓝桥杯 2018 省 B] 日志统计](https://www.luogu.com.cn/problem/P8661)```#include<bits/stdc++.h>#define pb push_back#define int long long//好习惯using namespace std;int n,d,k,mx;vector <int> v[100005];signed main(){19 行未改动}return 0;}/*id =0数组 1e5感觉 1e5*1e5 要用龙龙*/```- 依旧分组### [Cross Explosion](https://www.luogu.com.cn/problem/AT_abc370_d)```cpp#include<bits/stdc++.h>#define lb lower_bound#define ub upper_boundconst int inf=1e9+7;using namespace std;set <int> n[400005];set <int> m[400005];22 行未改动}while(q--){int x,y;scanf("%d%d",&x,&y);if(n[x].count(y)){//删过de(x,y);}else{//没删过//左auto it=n[x].lb(y);de(x,*it);//右13 行未改动printf("%d",ans);return 0;}/**/4 行未改动5678910111213141516171819202122232425262717 行未改动45464748495051525319 行未改动7374757677787980818283848586878889909122 行未改动11411511611711811912012112212312412513 行未改动1391401411421431444 行未改动struct node{int x,y;friend bool operator < (node p,node q){if(p.x!=q.x)return p.x<q.x;return p.y<q.y}friend bool operator > (node p,node q){if(p.x!=q.x)return p.x>q.x;return p.y>q.y}};```### [[蓝桥杯 2015 国 B] 密文搜索](https://www.luogu.com.cn/problem/P8630)```cpp#include<bits/stdc++.h>using namespace std;string s;map <string,int> m;int t,ans;signed main(){cin>>s>>t;while(t--){string a;17 行未改动### [[蓝桥杯 2018 省 B] 日志统计](https://www.luogu.com.cn/problem/P8661)```#include<bits/stdc++.h>#define pb push_back#define int long long//好习惯using namespace std;int n,d,k,mx;vector <int> v[100005];signed main(){19 行未改动}return 0;}/*id =0数组 1e5感觉 1e5*1e5 要用龙龙*/```- 依旧分组### [Cross Explosion](https://www.luogu.com.cn/problem/AT_abc370_d)```cpp#include<bits/stdc++.h>#define lb lower_bound#define ub upper_boundconst int inf=1e9+7;using namespace std;set <int> n[400005];set <int> m[400005];22 行未改动}while(q--){int x,y;scanf("%d%d",&x,&y);if(n[x].count(y)){//删过de(x,y);}else{//没删过//左auto it=n[x].lb(y);de(x,*it);//右13 行未改动printf("%d",ans);return 0;}/**/