正文
增加 70 行删除 70 行
195 行未改动全部展开19619719819920020120220320420520620720869 行未改动278279280281282283284285286123 行未改动全部展开41041141241341441541641741841942042142242328 行未改动45245345445545645745845946024 行未改动48548648748848949049149249324 行未改动5185195205215225235245255263 行未改动53053153253353453553653753853954054154254354454554654754854921 行未改动57157257357457557657757857924 行未改动60460560660760860961061161215 行未改动62862963063163263363463563632 行未改动66967067167267367467567667767867911 行未改动69169269369469569669769869970070170217 行未改动72072172272372472572672772872973073173273373473573673773873974074134 行未改动77677777877978078178278378478578678778878979020 行未改动8118128138148158168178188194 行未改动82482582682782882983083183213 行未改动8468478488498508518528538548558568578588598608618628638648658663 行未改动870871872873874875876877878879880881882883884885886887888105 行未改动全部展开994995996997998999100010011002114 行未改动全部展开111711181119112011211122112311241125112638 行未改动11651166116711681169117011711172117333 行未改动12071208120912101211121212131214121535 行未改动1251125212531254125512561257125812593 行未改动12631264126512661267126812691270127116 行未改动128812891290129112921293129412951296129712981299130013011302130321 行未改动13251326132713281329133013311332133358 行未改动139213931394139513961397139813991400254 行未改动全部展开165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168226 行未改动170917101711171217131714171517161717171817191720172117221723172417251726172717287 行未改动17361737173817391740174117421743174441 行未改动17861787178817891790179117921793179452 行未改动1847184818491850185118521853185418557 行未改动1863186418651866186718681869187018711872187318749 行未改动1884188518861887188818891890189118929 行未改动19021903190419051906190719081909191022 行未改动19331934193519361937193819391940194150 行未改动1992199319941995199619971998199920007 行未改动20082009201020112012201320142015201661 行未改动20782079208020812082208320842085208619 行未改动21062107210821092110211121122113211421152116211721182119212021217 行未改动195 行未改动全部展开while(1){x=q.top(),q.pop();if(find(x.x)!=find(x.y) && !usd[x.tp]) break;}fa[find(x.x)]=find(x.y);// printf("%lld %lld %lld %lld\n",x.x,x.y,x.v,x.tp);res+=x.v;if(x.tp){usd[x.tp]=1;_for(i,1,n) if(i!=d[x.tp]){q.push({d[x.tp],i,p[x.tp][i],0});69 行未改动return f[x];}void mg(int x,int y){if(siz[x] > siz[y]) swap(x,y);f[x] = y,siz[y] += siz[x];}}b;inline void check(){sm = 0;b.init();123 行未改动全部展开lena=maxn-minn+1;for(int j=1;j<=n;j++)for(int g=1;g<=s[i][0].length();g++){}*/cout<<0<<endl;}return 0;}28 行未改动if(A>0){A--; happy+=a[stu][0]; club(stu+1); A++; happy-=a[stu][0];}if(B>0){B--; happy+=a[stu][1]; club(stu+1); B++; happy-=a[stu][1];}if(C>0){C--; happy+=a[stu][2]; club(stu+1); C++; happy-=a[stu][2];}}}int main(){freopen("club.in","r",stdin);freopen("club.ans","w",stdout);24 行未改动{A=B=n/2;for(int j=1;j<=n;j++){maxn+=max(a[j][0],a[j][1]);b[abs(a[j][0]-a[j][1])]++;if(a[j][0]>a[j][1]) {A--;c[abs(a[j][0]-a[j][1])]++;}else {B--;b[abs(a[j][0]-a[j][1])]++;}}24 行未改动{for(int j=1;j<=n;j++)maxn+=max(a[j][0],max(a[j][1],a[j][2]));cout<<maxn<<endl; continue;}}A=B=C=n/2;club(1);cout<<maxn<<endl;3 行未改动``````cpp#include<bits/stdc++.h>using namespace std;long long n,m,c[501],b[501],sum,ans;//c���� b��Ŀbool p[501],lu[501],flag;//¼Ϊ1string a;const int mo=998244353;//998244353long long jc(int x){int u=1;for(int i=x;i>=1;i--) u=(u*i)%mo;return u;}void pailie(int x,int y)//��ǰ���� ��¼ȡ{if(x>n) return;int temp,s; s=y;for(int i=1;i<=n;i++)21 行未改动for(int i=1;i<=n;i++){cin>>c[i];b[i]=a[i-1]-'0';sum+=b[i];if(c[i]==0) flag=1;}if(m==n){if(sum!=n||flag!=0) cout<<0; else cout<<jc(n); return 0;}if(m>sum){cout<<0; return 0;}24 行未改动`road2.in/out/ans` 在 `freopen` 里出现了 $2$ 次,有 $2$ 个是诈骗。`road3.in/out/ans` 在 `freopen` 里出现了 $8$ 次,有 $5$ 个是诈骗。`road4.in/out/ans` 在 `freopen` 里出现了 $10$ 次,有 $10$ 个是诈骗。---`replace1.in/out/ans `在 `freopen` 里出现了 $7$ 次,有 $5$ 次是诈骗。15 行未改动`club4.in/out/ans `在 `freopen` 里出现了 $8$ 次,有 $8$ 次是诈骗。`club5.in/out/ans `在 `freopen` 里出现了 $13$ 次,有 $13$ 次是诈骗。---`employ1.in/out/ans `在 `freopen` 里出现了 $8$ 次,有 $7$ 次是诈骗。`employ2.in/out/ans `在 `freopen` 里出现了 $4$ 次,有 $2$ 次是诈骗。32 行未改动int main(){freopen("replace.in","r",stdin);freopen("replace.out","w",stdout);ios::sync_with_stdio(0),cin.tie(0),cout.tie(0);while(1);return 0;}//CCF is good//CCF is good//CCF is good//CCF is good11 行未改动```cpp/*CCF CCF CCF CCF CCF CCF CCF CCF CCF CCF CCF CCF is is is is isCCF CCF CCF isCCF CCF CCF CCF CCF CCF is is is is isCCF CCF CCF is isCCF CCF CCF CCF CCF CCF CCF CCF CCF is is is is is .................*/```不做评价。## 代码长度这一块17 行未改动printf("0\n0\n0\n0\n");}if(n==37375 and m==27578){printf(/*省略 82Kb 大样例内容*/);}if(n==2235 and m==1010){printf(/*省略 3Kb 大样例内容*/);}else{for(int i=0;i<m;i++){cout<<0<<'\n';}}return 0;fclose(stdin);fclose(stdout);}```34 行未改动#### SD-S01264```CCCCCCCCC CCCCCCCCCC FFFFFFFFFFFC C FC C FC C FC C FFFFFFFFFFFC C FC C FCCCCCCCCC CCCCCCCCCC F```~~**您在这种花呢?**~~20 行未改动```/*-------- �� || , ---- |--|--|| |---| / |--|--|| |---| /| |--|--|| |---| | || .|. | |4 行未改动#### 同上```^^^^^^^^^^^^( �� �� )| |------| |-------()| |13 行未改动/ / / / / / / / //____/ / /\ / /____ /____/ // / / \ / / // / / \ /____ ____/ / .```%%%%%%%%%%%#### SD-S?????```[||||]\__// \/ \/______\```## 盒子这一块3 行未改动`SD-S01020` 出现在了两个不同人的代码里。神秘。### 彩蛋2SD-J00001 出现在了选手文件夹中?### 开盒环节:帮你们开了,不用谢。**SD-S00161**:@[China_DeepSeek](luogu://user/1209548)**SD-S00433**:@[undefined_behavior](luogu://user/780262)**SD-S00436**:@[Meng_Xiangyu](luogu://user/1433474)**SD-S00446**:@[JuRuoOIer](luogu://user/476093)105 行未改动全部展开### 祝好```//love you//OI//bye~ bye```### 大佬爆切 T2```//14:48 begin114 行未改动全部展开// b[42]=a[][]+a[][]+a[][]+a[][];// b[43]=a[][]+a[][]+a[][]+a[][];// b[44]=a[][]+a[][]+a[][]+a[][];// b[45]=a[][]+a[][]+a[][]+a[][];//// }```### 不可以,总司令```cpp38 行未改动```还有```cpp// wo zhen de bu xiang tui yi```### Don't learn me```cpp33 行未改动### 来 生 再 见```cpp//i love yukina roxy anon yuki aimi aiba and all of bangdreams characters and cvs//CCF SEE U NEXT LIVE//RP++```### I AKed CSPJ this morning35 行未改动while(heap7772666.size()&&cnts666<n666) {lsqxx666 bs666=heap7772666.top();heap7772666.pop();int lss666=bs666.s7771666; //Lin Sen Senint lxx666=bs666.t7771666; //Lin Xiao Xili666 dis666=bs666.wd666;if(fam666(lss666, lxx666)) continue;heap666.push(bs666);answer666+=dis666;3 行未改动li666 ans666=answer666;li666 ly666=n666+k666; //Lin Yin, you have been rebirthed!!!//I will save you, Lin Yin... ...//Brother... My elder brother... ...//Now, let's say "Goodbye".//Goodbye, my brother... ...//Goodbye, my inside girl-- Little Yin... ...for(int i666=0; i666<lm666; i666++) {//I have so much power!!! I am powerful!!! -- Lin Yin16 行未改动```还有直抒胸臆:```//I love CCF```### 暴戾语言```cpp//FUCK Magus CYB//FUCK zzldd DJM//HAPPY```### 我知道你喜欢玩原神了21 行未改动### Wake up```Wake up!What should I do now?Could I see the blossom?But now I may find you.Why T1 so hard!!!!!!!!58 行未改动Your heart's been aching but you're too shy to say itInside we both know what's been going onWe know the game and we're gonna play itAnd if you ask me how I'm feelingDon't tell me you're to blind to seeNever gonna give you upNever gonna let you downNever gonna run around and desert youNever gonna make you cry254 行未改动全部展开xian zai hai mei kai kao,wo jiu yi jing po bu ji dai dexie xia le zhe duan zhushixian zai yi jing shi 18:04 lewo de xin qing shi fen gou shidao bu shi shuo wo zuo le yi dui gou shi(shi ji shang wo jiu shi zuo le yi tuo gou shi ,dan wo de yi si shi wo bu shi yin wei wo zuo le yi tan gou shi xin qing bian gou shi de)er shi yin wei wo fa zi fei fu xie le yida duan hua wang bao cun leqi si wo lewo xian zai yao nai zhe xing zi hui xiang yi xia,zai xei xia lai:wo mei nai xin xiang lefan zheng da gai jiu shi gan xie le yi dui renran hou jue de zhe ci kao ~120ru guo wo you xing(xing yun de xing)qie you qing(qing xv de qing) wo hui zai NOIP hao hao zai xie yi bianxi wang neng hun ge 3=gan xie na ge zheng li mi huo xing wei da shang de renma fang ni ba zhe yi da duan wen zi xie cheng han ziFrom luogu @Shiro_Zhu BCMS ZhuXiling : bi wo cai de bi wo qiang de gen wo shui ping cha bu duo de dou AK CSPhai you ,wo bu xiang ding ge lv gou tui yilai ge blueblueblueblue26 行未改动at 17:204 duipais were builttry to write an overall selfevalbut failed*/```### 游记爷```/*Ren5Jie4Di4Ling5%16:25 wtf so easy?just hash is ok or i am a (b h)?16:30 i understand the problem in a wrong way OvO.16:40 i can only solve 25pts,D first.17:00 back to think C17:20 i think i should start to write codes for C and D,only 249pts,sad17:35 finisg 25pts,why wrong?7 行未改动### 我猜 1```cpp#include<bits/stdc++.h>#define pii pair<long long,long long>#define ll long longusing namespace std;const int N = 1e5 + 9;int n,m,k,w[N];41 行未改动int main(){freopen(".in","r",stdin);freopen(".out","w",stdout);return 0;}```### T1 肝佬52 行未改动}sta3[N];int cmp1(node a,node b){return a.fir>=b.fir;}int cmp2(node a,node b){7 行未改动signed main(){freopen("club.in","r",stdin);freopen("club.out","w",stdout);cin>>t;while (t--){cin>>n;9 行未改动sta[i].c12=sta[i].fir-sta[i].sec;sta[i].c13=sta[i].fir-sta[i].thi;sta[i].c23=sta[i].sec-sta[i].thi;}sort(sta+1,sta+n+1,cmp1);for (int i=1;i<=n;i++){sta1[i].fir=sta[i].fir;9 行未改动sta[i].vis=1;num[i]=1;}//cout<<ans<<endl;sort(sta+1,sta+n+1,cmp2);for (int i=1;i<=n;i++){sta2[i].fir=sta[i].fir;22 行未改动num[i]=2;}}//cout<<ans<<endl;sort(sta+1,sta+n+1,cmp3);for (int i=1;i<=n;i++){sta3[i].fir=sta[i].fir;50 行未改动{yi=sta[i].thi;y=3;}if (sta[i].fir>=sta[i].sec&&sta[i].fir<=sta[i].thi||sta[i].fir>=sta[i].thi&&sta[i].fir<=sta[i].sec){er=sta[i].fir;e=1;7 行未改动{er=sta[i].thi;e=3;}if (sta[i].fir<=sta[i].sec&&sta[i].fir<=sta[i].thi){san=sta[i].fir;s=1;61 行未改动sta2[j].vis=1;break;}}}}else if (y==3){19 行未改动}}}}}}}}cout<<ans<<"\n";}return 0;}7 行未改动195 行未改动全部展开19619719819920020120220320420520620720869 行未改动278279280281282283284285286123 行未改动全部展开41041141241341441541641741841942042142242328 行未改动45245345445545645745845946024 行未改动48548648748848949049149249324 行未改动5185195205215225235245255263 行未改动53053153253353453553653753853954054154254354454554654754854921 行未改动57157257357457557657757857924 行未改动60460560660760860961061161215 行未改动62862963063163263363463563632 行未改动66967067167267367467567667767867911 行未改动69169269369469569669769869970070170217 行未改动72072172272372472572672772872973073173273373473573673773873974074134 行未改动77677777877978078178278378478578678778878979020 行未改动8118128138148158168178188194 行未改动82482582682782882983083183213 行未改动8468478488498508518528538548558568578588598608618628638648658663 行未改动870871872873874875876877878879880881882883884885886887888105 行未改动全部展开994995996997998999100010011002114 行未改动全部展开111711181119112011211122112311241125112638 行未改动11651166116711681169117011711172117333 行未改动12071208120912101211121212131214121535 行未改动1251125212531254125512561257125812593 行未改动12631264126512661267126812691270127116 行未改动128812891290129112921293129412951296129712981299130013011302130321 行未改动13251326132713281329133013311332133358 行未改动139213931394139513961397139813991400254 行未改动全部展开165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168226 行未改动170917101711171217131714171517161717171817191720172117221723172417251726172717287 行未改动17361737173817391740174117421743174441 行未改动17861787178817891790179117921793179452 行未改动1847184818491850185118521853185418557 行未改动1863186418651866186718681869187018711872187318749 行未改动1884188518861887188818891890189118929 行未改动19021903190419051906190719081909191022 行未改动19331934193519361937193819391940194150 行未改动1992199319941995199619971998199920007 行未改动20082009201020112012201320142015201661 行未改动20782079208020812082208320842085208619 行未改动21062107210821092110211121122113211421152116211721182119212021217 行未改动195 行未改动全部展开while(1){x=q.top(),q.pop();if(find(x.x)!=find(x.y) && !usd[x.tp]) break;}fa[find(x.x)]=find(x.y);// printf("%lld %lld %lld %lld\n",x.x,x.y,x.v,x.tp);res+=x.v;if(x.tp){usd[x.tp]=1;_for(i,1,n) if(i!=d[x.tp]){q.push({d[x.tp],i,p[x.tp][i],0});69 行未改动return f[x];}void mg(int x,int y){if(siz[x] > siz[y]) swap(x,y);f[x] = y,siz[y] += siz[x];}}b;inline void check(){sm = 0;b.init();123 行未改动全部展开lena=maxn-minn+1;for(int j=1;j<=n;j++)for(int g=1;g<=s[i][0].length();g++){}*/cout<<0<<endl;}return 0;}28 行未改动if(A>0){A--; happy+=a[stu][0]; club(stu+1); A++; happy-=a[stu][0];}if(B>0){B--; happy+=a[stu][1]; club(stu+1); B++; happy-=a[stu][1];}if(C>0){C--; happy+=a[stu][2]; club(stu+1); C++; happy-=a[stu][2];}}}int main(){freopen("club.in","r",stdin);freopen("club.ans","w",stdout);24 行未改动{A=B=n/2;for(int j=1;j<=n;j++){maxn+=max(a[j][0],a[j][1]);b[abs(a[j][0]-a[j][1])]++;if(a[j][0]>a[j][1]) {A--;c[abs(a[j][0]-a[j][1])]++;}else {B--;b[abs(a[j][0]-a[j][1])]++;}}24 行未改动{for(int j=1;j<=n;j++)maxn+=max(a[j][0],max(a[j][1],a[j][2]));cout<<maxn<<endl; continue;}}A=B=C=n/2;club(1);cout<<maxn<<endl;3 行未改动``````cpp#include<bits/stdc++.h>using namespace std;long long n,m,c[501],b[501],sum,ans;//c���� b��Ŀbool p[501],lu[501],flag;//¼Ϊ1string a;const int mo=998244353;//998244353long long jc(int x){int u=1;for(int i=x;i>=1;i--) u=(u*i)%mo;return u;}void pailie(int x,int y)//��ǰ���� ��¼ȡ{if(x>n) return;int temp,s; s=y;for(int i=1;i<=n;i++)21 行未改动for(int i=1;i<=n;i++){cin>>c[i];b[i]=a[i-1]-'0';sum+=b[i];if(c[i]==0) flag=1;}if(m==n){if(sum!=n||flag!=0) cout<<0; else cout<<jc(n); return 0;}if(m>sum){cout<<0; return 0;}24 行未改动`road2.in/out/ans` 在 `freopen` 里出现了 $2$ 次,有 $2$ 个是诈骗。`road3.in/out/ans` 在 `freopen` 里出现了 $8$ 次,有 $5$ 个是诈骗。`road4.in/out/ans` 在 `freopen` 里出现了 $10$ 次,有 $10$ 个是诈骗。---`replace1.in/out/ans `在 `freopen` 里出现了 $7$ 次,有 $5$ 次是诈骗。15 行未改动`club4.in/out/ans `在 `freopen` 里出现了 $8$ 次,有 $8$ 次是诈骗。`club5.in/out/ans `在 `freopen` 里出现了 $13$ 次,有 $13$ 次是诈骗。---`employ1.in/out/ans `在 `freopen` 里出现了 $8$ 次,有 $7$ 次是诈骗。`employ2.in/out/ans `在 `freopen` 里出现了 $4$ 次,有 $2$ 次是诈骗。32 行未改动int main(){freopen("replace.in","r",stdin);freopen("replace.out","w",stdout);ios::sync_with_stdio(0),cin.tie(0),cout.tie(0);while(1);return 0;}//CCF is good//CCF is good//CCF is good//CCF is good11 行未改动```cpp/*CCF CCF CCF CCF CCF CCF CCF CCF CCF CCF CCF CCF is is is is isCCF CCF CCF isCCF CCF CCF CCF CCF CCF is is is is isCCF CCF CCF is isCCF CCF CCF CCF CCF CCF CCF CCF CCF is is is is is .................*/```不做评价。## 代码长度这一块17 行未改动printf("0\n0\n0\n0\n");}if(n==37375 and m==27578){printf(/*省略 82Kb 大样例内容*/);}if(n==2235 and m==1010){printf(/*省略 3Kb 大样例内容*/);}else{for(int i=0;i<m;i++){cout<<0<<'\n';}}return 0;fclose(stdin);fclose(stdout);}```34 行未改动#### SD-S01264```CCCCCCCCC CCCCCCCCCC FFFFFFFFFFFC C FC C FC C FC C FFFFFFFFFFFC C FC C FCCCCCCCCC CCCCCCCCCC F```~~**您在这种花呢?**~~20 行未改动```/*-------- �� || , ---- |--|--|| |---| / |--|--|| |---| /| |--|--|| |---| | || .|. | |4 行未改动#### 同上```^^^^^^^^^^^^( �� �� )| |------| |-------()| |13 行未改动/ / / / / / / / //____/ / /\ / /____ /____/ // / / \ / / // / / \ /____ ____/ / .```%%%%%%%%%%%#### SD-S?????```[||||]\__// \/ \/______\```## 盒子这一块3 行未改动`SD-S01020` 出现在了两个不同人的代码里。神秘。### 彩蛋2SD-J00001 出现在了选手文件夹中?### 开盒环节:帮你们开了,不用谢。**SD-S00161**:@[China_DeepSeek](luogu://user/1209548)**SD-S00433**:@[undefined_behavior](luogu://user/780262)**SD-S00436**:@[Meng_Xiangyu](luogu://user/1433474)**SD-S00446**:@[JuRuoOIer](luogu://user/476093)105 行未改动全部展开### 祝好```//love you//OI//bye~ bye```### 大佬爆切 T2```//14:48 begin114 行未改动全部展开// b[42]=a[][]+a[][]+a[][]+a[][];// b[43]=a[][]+a[][]+a[][]+a[][];// b[44]=a[][]+a[][]+a[][]+a[][];// b[45]=a[][]+a[][]+a[][]+a[][];//// }```### 不可以,总司令```cpp38 行未改动```还有```cpp// wo zhen de bu xiang tui yi```### Don't learn me```cpp33 行未改动### 来 生 再 见```cpp//i love yukina roxy anon yuki aimi aiba and all of bangdreams characters and cvs//CCF SEE U NEXT LIVE//RP++```### I AKed CSPJ this morning35 行未改动while(heap7772666.size()&&cnts666<n666) {lsqxx666 bs666=heap7772666.top();heap7772666.pop();int lss666=bs666.s7771666; //Lin Sen Senint lxx666=bs666.t7771666; //Lin Xiao Xili666 dis666=bs666.wd666;if(fam666(lss666, lxx666)) continue;heap666.push(bs666);answer666+=dis666;3 行未改动li666 ans666=answer666;li666 ly666=n666+k666; //Lin Yin, you have been rebirthed!!!//I will save you, Lin Yin... ...//Brother... My elder brother... ...//Now, let's say "Goodbye".//Goodbye, my brother... ...//Goodbye, my inside girl-- Little Yin... ...for(int i666=0; i666<lm666; i666++) {//I have so much power!!! I am powerful!!! -- Lin Yin16 行未改动```还有直抒胸臆:```//I love CCF```### 暴戾语言```cpp//FUCK Magus CYB//FUCK zzldd DJM//HAPPY```### 我知道你喜欢玩原神了21 行未改动### Wake up```Wake up!What should I do now?Could I see the blossom?But now I may find you.Why T1 so hard!!!!!!!!58 行未改动Your heart's been aching but you're too shy to say itInside we both know what's been going onWe know the game and we're gonna play itAnd if you ask me how I'm feelingDon't tell me you're to blind to seeNever gonna give you upNever gonna let you downNever gonna run around and desert youNever gonna make you cry254 行未改动全部展开xian zai hai mei kai kao,wo jiu yi jing po bu ji dai dexie xia le zhe duan zhushixian zai yi jing shi 18:04 lewo de xin qing shi fen gou shidao bu shi shuo wo zuo le yi dui gou shi(shi ji shang wo jiu shi zuo le yi tuo gou shi ,dan wo de yi si shi wo bu shi yin wei wo zuo le yi tan gou shi xin qing bian gou shi de)er shi yin wei wo fa zi fei fu xie le yida duan hua wang bao cun leqi si wo lewo xian zai yao nai zhe xing zi hui xiang yi xia,zai xei xia lai:wo mei nai xin xiang lefan zheng da gai jiu shi gan xie le yi dui renran hou jue de zhe ci kao ~120ru guo wo you xing(xing yun de xing)qie you qing(qing xv de qing) wo hui zai NOIP hao hao zai xie yi bianxi wang neng hun ge 3=gan xie na ge zheng li mi huo xing wei da shang de renma fang ni ba zhe yi da duan wen zi xie cheng han ziFrom luogu @Shiro_Zhu BCMS ZhuXiling : bi wo cai de bi wo qiang de gen wo shui ping cha bu duo de dou AK CSPhai you ,wo bu xiang ding ge lv gou tui yilai ge blueblueblueblue26 行未改动at 17:204 duipais were builttry to write an overall selfevalbut failed*/```### 游记爷```/*Ren5Jie4Di4Ling5%16:25 wtf so easy?just hash is ok or i am a (b h)?16:30 i understand the problem in a wrong way OvO.16:40 i can only solve 25pts,D first.17:00 back to think C17:20 i think i should start to write codes for C and D,only 249pts,sad17:35 finisg 25pts,why wrong?7 行未改动### 我猜 1```cpp#include<bits/stdc++.h>#define pii pair<long long,long long>#define ll long longusing namespace std;const int N = 1e5 + 9;int n,m,k,w[N];41 行未改动int main(){freopen(".in","r",stdin);freopen(".out","w",stdout);return 0;}```### T1 肝佬52 行未改动}sta3[N];int cmp1(node a,node b){return a.fir>=b.fir;}int cmp2(node a,node b){7 行未改动signed main(){freopen("club.in","r",stdin);freopen("club.out","w",stdout);cin>>t;while (t--){cin>>n;9 行未改动sta[i].c12=sta[i].fir-sta[i].sec;sta[i].c13=sta[i].fir-sta[i].thi;sta[i].c23=sta[i].sec-sta[i].thi;}sort(sta+1,sta+n+1,cmp1);for (int i=1;i<=n;i++){sta1[i].fir=sta[i].fir;9 行未改动sta[i].vis=1;num[i]=1;}//cout<<ans<<endl;sort(sta+1,sta+n+1,cmp2);for (int i=1;i<=n;i++){sta2[i].fir=sta[i].fir;22 行未改动num[i]=2;}}//cout<<ans<<endl;sort(sta+1,sta+n+1,cmp3);for (int i=1;i<=n;i++){sta3[i].fir=sta[i].fir;50 行未改动{yi=sta[i].thi;y=3;}if (sta[i].fir>=sta[i].sec&&sta[i].fir<=sta[i].thi||sta[i].fir>=sta[i].thi&&sta[i].fir<=sta[i].sec){er=sta[i].fir;e=1;7 行未改动{er=sta[i].thi;e=3;}if (sta[i].fir<=sta[i].sec&&sta[i].fir<=sta[i].thi){san=sta[i].fir;s=1;61 行未改动sta2[j].vis=1;break;}}}}else if (y==3){19 行未改动}}}}}}}}cout<<ans<<"\n";}return 0;}7 行未改动