版本比较
cherry2010
签名
增加 1 行删除 1 行
11So just take the leap, throw your doubts away.Now's your moment in the sun / And it's only just begun / Throw your doubts away / And take a leap today个人介绍
增加 2 行删除 52 行
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515212344 行未改动9101112131415161718148 行未改动全部展开```c++// 7154#include <bits/stdc++.h>using namespace std;
char BEGIN;namespace Cherry { const int N=3005; const long long mod=1e9+7; int n; int s[N],t[N];
struct stu { int x,t; }a[N]; bool cmp(stu a,stu b) { return a.x<b.x||(a.x==b.x&&a.t<b.t); }
int main() { scanf("%d",&n); for(int i=1;i<=n;i++) scanf("%d",&s[i]),a[i]={s[i],0}; for(int i=1;i<=n;i++) scanf("%d",&t[i]),a[i+n]={t[i],1}; sort(a+1,a+1+2*n,cmp); for(int i=1;i<=2*n;i++) { for(int j=0;j<=n;j++) { if(!a[i].t) { } else {
} } }
return 0; }}char END;
int main() { clock_t begin=clock(); Cherry::main(); clock_t end=clock(); fprintf(stderr,"Time: %.3lf/Limit s\n",(end-begin)/1000.0); fprintf(stderr,"Memory: %.3lf/Limit MB\n",abs(&BEGIN-&END)/1024.0/1024.0); // A Million Dreams is all it's gonna take.
return 0;}```
---
[](https://www.gamersky.com/handbook/201811/1125202.shtml)
[](https://zhuanlan.zhihu.com/p/50238138)
4 行未改动[](https://blog.csdn.net/cym492224103/article/details/115774998)
---
[1](https://www.luogu.com.cn/discuss/1439059)
45836492
---
148 行未改动全部展开