正文
增加 5423 行删除 790 行
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039114 行未改动40640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061今年 CSP-S 2025 广西赛区,共有 $\sim660$ 人参赛,其中提交文件的选手一共有 $653$ 位,共有 $3984$ 个 ``freopen``,$87$ 个 ``//freopen``,$2151$ 个 ``main``,$3$ 个 ``mian()``。接下来是具体代码。#### freopen 类让我们恭喜第一位 ``//freopen`` 嘉宾——GX-S00006!```cpp...int main(){//freopen("replace.in","r",stdin);//freopen("replace.out","w",stdout);int n,q;...```哎哎哎,哥们怎么 ``road`` 也这么写,哎算了算了。```cpp#include<bits/stdc++.h>using namespace std;int main(){//freopen("road.in","r",stdin);//freopen("road.out","w",stdout);cout<<0;return 0;}```下一位是……GX-S00008!```cpp...struct z{int a;int b;int c;};int main(){//freopen("club.in","r",stdin);//freopen("club.out","w",stdout);cin>>t;for(int s=0;s<t;s++){...```下一位是 GX-S00024,这位选手的 T1 写了 $4\text{KB}+$,但是却使用了 ``//freopen``,真是令人惋惜。```cpp...int tool;bool cmp(node a,node b){return a.maxn>b.maxn;}int main(){//freopen("club.in","r",stdin);//freopen("club.out","w",stdout);cin>>tool;while(tool--){cin>>n;...```……欸,怎么加了还是 $0$ 分,那没事了。顺带一提,这是这位选手的 `employ.cpp`。```cpp#include<bits/stdc++.h>using namespace std;int main(){freopen("replace.in","r",stdin);freopen("replace.out","w",stdout);fclose(stdin);fclose(stdout);return 0;}```不知道为什么读入了 `replace.in` 呢!选手 GX-S00071 老老实实写下了 `//freopen`,但是他写得有点问题……```D:\22112\CSP-S2025 GX\GX-S00071\employ\employ.cpp:2 using namespace std;3 int main(){4: freopen("//home//noilinux//club//club.in","r",stdin);5: freopen("//home//noilinux//club//club.out","w",stdout);6 return 0;7 }D:\22112\CSP-S2025 GX\GX-S00071\replace\replace.cpp:2 using namespace std;3 int main(){4: freopen("//home//noilinux//replace//replace.in","r",stdin);5: freopen("//home//noilinux//replace//replace.out","w",stdout);6 return 0;7 }D:\22112\CSP-S2025 GX\GX-S00071\road\road.cpp:2 using namespace std;3 int main(){4: freopen("//home//noilinux//road//road.in","r",stdin);5: freopen("//home//noilinux//road//road.out","w",stdout);6 return 0;7 }```选手 GX-S00081 在四道题中均使用了 `//freopen`,这是为什么呢?```D:\22112\CSP-S2025 GX\GX-S00081\club\club.cpp:6 int main( )7 {8: //freopen("club.in","r",stdin);9: //freopen("club.out","w",stdout);10 cin>>t;11 for(int time=1;time<=t;time++)D:\22112\CSP-S2025 GX\GX-S00081\employ\employ.cpp:6 int main( )7 {8: //freopen("employ.in","r",stdin);9: //freopen("employ.out","w",stdout);10 cin>>nn>>m;11 cin>>n;D:\22112\CSP-S2025 GX\GX-S00081\replace\replace.cpp:6 int main( )7 {8: //freopen("replace.in","r",stdin);9: //freopen("replace.out","w",stdout);10 cin>>n>>q;11 for(int i=1;i<=n;i++)D:\22112\CSP-S2025 GX\GX-S00081\road\road.cpp:6 int main( )7 {8: //freopen("road.in","r",stdin);9: //freopen("road.out","w",stdout);10 cin>>n>>m>>k;11 for(int i=1;i<=m;i++)```选手 GX-S00091 在 T1T2T4 中均使用了 `//freopen`,还把 `club` 拼错了,还写错了地方,还在 T3 提交了一个空文件……81 和 91 真是一对苦命鸳鸯。```D:\22112\CSP-S2025 GX\GX-S00091\club\club.cpp:6 int d[6];7 int main(){8: //freopen("clud.in","r",stdin);9: //freopen("clud.out","w",stdout);10 cin>>t;11 for(int time=1;time<=t;time++){D:\22112\CSP-S2025 GX\GX-S00091\employ\employ.cpp:2 using namespace std;3 int main(){4: //freopen("clud.in","r",stdin);5: //freopen("clud.out","w",stdout);6 return 0;7 }D:\22112\CSP-S2025 GX\GX-S00091\road\road.cpp:3 long long u,v,w,k,n,m,c[100005],a[1006][100005];4 int main(){5: //freopen("road.in","r",stdin);6: //freopen("road.out","w",stdout);7 cin>>n>>m>>k;8 for(int i=1;i<=m+1;i++){```受限于篇幅,这里不放出所有的 `//freopen`,仅列出部分值得一提的代码。GX-S00606 选手选择通过 `//freopen` 来介绍他自己!```D:\22112\CSP-S2025 GX\GX-S00606\employ\employ.cpp:24 }25 }26: }//freopen my luogu name is gaogao0527 int main(){28 freopen("employ.in","r",stdin);..41 cin>>c[i];42 }43: //freopen(".in","r",stdin);44: //freopen(".out","w",stdout);45 dfs(0,0);46 cout<<ans;47 return 0;48 }49: //freopen stwout Nevergonnagive you up50 //my luogu name is gaogao05.51```#### 各种注释类选手 GX-S00016 在每道题前都写下了自己的想法!可以看出他的心理发生了不少变化……```D:\22112\CSP-S2025 GX\GX-S00016\club\club.cpp:1 #include <bits/stdc++.h>2 using namespace std;3: // Love Try My Best4 void solve() {5 int n = 0;D:\22112\CSP-S2025 GX\GX-S00016\road\road.cpp:1 #include <bits/stdc++.h>2 using namespace std;3: // EZ NOOB45 int main() {D:\22112\CSP-S2025 GX\GX-S00016\replace\replace.cpp:1 #include <bits/stdc++.h>2 using namespace std;3: // ICANTDOTHAT45 int main() {D:\22112\CSP-S2025 GX\GX-S00016\employ\employ.cpp:1 #include <bits/stdc++.h>2 using namespace std;3: // I'M NOOB45 int main() {```选手 GX-S00019 在他的每份代码的第一行都放入了这句话:```cpp//I Love CCF.I Want 100pts in this problem!```他的愿望成真了,他在 T1 获得了 $100$ 分的好成绩!以及,他在每份代码的末尾都加入了这样两句话:```//I only have 172pts,can i go to NOIP(sad)?i want to go it!//my names in Luogu is JadeFox2012```很可惜,这位同学实际上只得到了 $112$ 分,但在 GX,这样的分数已经足够他得到一等奖,进入 NOIP。GX-S00115 的代码有些异常,是被谁按在键盘上了吗?```D:\22112\CSP-S2025 GX\GX-S00115\club\club.cpp:12 freopen("club.out","w",stdout);13 cout<<18<<endl;cout<<4<<endl<<13;14: //wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww... <skipped 1110 characters> ...1516 return 0;D:\22112\CSP-S2025 GX\GX-S00115\replace\replace.cpp:16 }else{17 cout <<2<<endl<<0;}18: //wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww... <skipped 1110 characters> ...1920 return 0;D:\22112\CSP-S2025 GX\GX-S00115\road\road.cpp:11 freopen("road.in","r",stdin);12 freopen("road.out","w",stdout);13: //rttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttt... <skipped 359 characters> ...14 cout <<13;15 return 0;```GX-S00135 在他的代码中写下了一些注释,似乎在诉说着什么。```D:\22112\CSP-S2025 GX\GX-S00135\club\club.cpp:94 return 0;95 }96: //zuei yuong xin xie de yi ge97: //5598D:\22112\CSP-S2025 GX\GX-S00135\employ\employ.cpp:59 return 0;60 }61: //zuei yuong xin xie de di er ge62: //5563D:\22112\CSP-S2025 GX\GX-S00135\replace\replace.cpp:8 return 0;9 }10: //shao yu niu bi11: //5512D:\22112\CSP-S2025 GX\GX-S00135\road\road.cpp:8 return 0;9 }10: //codm hui tiao bp5011: //5512```GX-S00139 为我们带来了一段有意思的小作文!他把他的小作文重复了很多遍,似乎很想让大家看到!```D:\22112\CSP-S2025 GX\GX-S00139\employ\employ.cpp:8 cin>>n>>m;9 for(int i=0;i<m;i++)cout<<"0\n";10: //Just do it!11: //It is too difficult to me!12: //So I do not want to do it any more!13: //I want to play the Star Rail14: //If I can not AK I will play GXXXX Impact15: //And I will play the Count Strike 216: //Thanks for your listening!171819: //Just do it!20: //It is too difficult to me!21: //So I do not want to do it any more!22: //I want to play the Star Rail23: //If I can not AK I will play GXXXX Impact24: //And I will play the Count Strike 225: //Thanks for your listening!2627: //Just do it!28: //It is too difficult to me!29: //So I do not want to do it any more!30: //I want to play the Star Rail31: //If I can not AK I will play GXXXX Impact32: //And I will play the Count Strike 233: //Thanks for your listening!...```……啊,看来这位同学真的很喜欢玩 Star Rail、GXXXX Impact 以及 Counter Strike 2 呢。GX-S00149 为我们带来了他最喜欢的歌曲:```D:\22112\CSP-S2025 GX\GX-S00149\road\road.cpp:11 }12: //I'm always knew where I stood,I try to be so good.13: //Look at me now,I don't know how,but I'm real hero.14: //No hiding in the15```……哎,怎么断片了?GX-S00167 同学把 T4 识别成了……费用流板子?```D:\22112\CSP-S2025 GX\GX-S00167\employ\employ.cpp:1 #include<bits/stdc++.h>2 using namespace std;3: //fei yong liu mu ban 484 struct Node{5 int to, nxt, w;```GX-S00169 同学伟大的心路历程:```D:\22112\CSP-S2025 GX\GX-S00169\employ\employ.cpp:83 hyw84 he yi weiD:\22112\CSP-S2025 GX\GX-S00169\replace\replace.cpp:129 hyw130 he yi weiD:\22112\CSP-S2025 GX\GX-S00169\road\road.cpp:91 wo zen me bu hui t1????92 t2 kan zhe xiang mstclub.cpp:/*froepenzhe sha a?????14 行未改动rang wo na gou 7 ba qwq*/```实际上他的分数在算入 $0$ 分时确实能拿到 7 勾!GX-S00201 同学在代码中打出了几个 emoji:```D:\22112\CSP-S2025 GX\GX-S00201\club\club.cpp:17 }18 }19: return 0;//bro know me?🗿🗿🗿20 }```GX-S00227 同学也进行了激烈的脸滚键盘,到底是被谁按住了呢。```D:\22112\CSP-S2025 GX\GX-S00227\club\club.cpp:229230231: //ggggggggggggggggggggdsrggrehe232: //herhrhdf233: //athjky234: //ajko'iluful,yuilsrlfyi235: //hrhdshahlyfuil236: //syjiraetyai6ukishhjyeueytjedyjyiwut237: //ytitistraethyrstuykitufysrtaethyrjusruj238: //srututrjsryjrsjyrjjsrjrtsjjukllllillligigyit5hujfg7 //ghgfdsfgdhfgdgfhdfgdshdfgfdgsdafdsafujinhwewbgfidhsfybhhdsolesesayfhcfriavrfujiavbbbbbbbbbgsrgsfjlshrjnrakjsjksj239: //jstttttttttttttttttttttjsrrrrrrrrrrrrrrrrrrrrrrrrrrrrrriiiiiiiiiiiiiii240: //jsrrrrrrrrrrrrrrrrrrrrrr6tiutujrujrjryjryjjryy fgfgc fg cfc //gfcfcfddxssazszadfgvhjnhiiiiiiidxsreazzzzzzzdxcf gvhbjnkml;jhbvgcfgv hhhhhhhhhhhhhhhhhhhc241: //ertttttttttttt3wrt242 }243```GX-S00288 同学在比赛之余也不忘复习 whk,让我们学习他的勤奋精神!```replace.cpp:/*yue yang lou jifan zhong yanqlsnc,tzjzsblj.ymn,ztrh,bfjx,ncxyyl.zqjz,ktxjnsfyqs,zyzwyjzygfblsz,zdtyh.xys,tcj,hhss,hwjy.zhxy,qxwq,czyylzdgy,qrzsby.rzbtwx,njxx,qksr,dhyc,lwzq,dwyhrfyyff,lybk,yfnh,zlpk,rxyy,syqx,slbx,qqjc.bmmmhxyt.dsly,zyqghx,ycwj,mmxr,gjebzyzrchjm,blbj,xxtg,ybwq,soxj,jlyy,aztl,yyqq.ehcyyk,hyql,fgyj,jycb.dsly,zyxksy,crxw,bjlf,qxyyzy.jh!ycqgrrzx,hycezw,hz?bywx,byjb,jmtzgzyqj,cjhzyzyqm.sjyy,tyy,rzhsely?qby:"xtxzyey,htxzlel.'h.wsr,wsyg?slnjyswr.*/employ.cpp:/*zui weng ting jiou yang xiuhcjsy,qxnzf,lhymwzwresxz,lyy.sxlql,jwsscc,excylfzjz,nqy.fhlz,ytyrlyqsz,zwty.ztzs?szszxy;mzzs?tszwy.tsyklyyc,yszz,enyzq,ggzhy:"zw"y.zwzybzj,zhsszjy,sszl,dzyeyzjyrfrceyfk,ygeyxm.hmbhz,sjzzmy,yffeyx,jmxefy,ssgj,slesc,zjzssy.zew,meg,sizjbt,elywqy.zyfzgyt,xzxys,qzh,hzy.lytx,wlebjz,cryy.lxey,xseyf;nqwj,qxejl.syys,zreqcz,tsyy.yhzl,fsfz,tzs,yzz,gcjc,zbhy.qzcybf,trhqjz,tszy.yexyzs,rxsl,tsgebkcy.slyy,mssx,yygeqnly.eqnzslzl,bzrzl.rzctsyel,ebztszlqly.zntql,xnsywz,tsws?lu lin ou yang xiu ye.*/```GX-S00323 同学对题目的怨念已经肉眼可见了。```D:\22112\CSP-S2025 GX\GX-S00323\club\club.cpp:67 break;68 }69: // if(a[i].bm1>a[i].bm2&&a[i].bm1>a[i].bm3&&a[i].xuan==false)70: // {71: // a[i].xuan=true;72: // b1++;73: // sum+=a[i].bm1;74: // }75 if(a[i].pm1>n2&&a[i].pm2>n2&&a[i].xuan==false)76 {..111 }112 return 0;113: }//什么鬼114D:\22112\CSP-S2025 GX\GX-S00323\employ\employ.cpp:6 freopen("employ.out","w",stdout);7 return 0;8: }//什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼... <skipped 321 characters> ...9D:\22112\CSP-S2025 GX\GX-S00323\replace\replace.cpp:6 freopen("replace.out","w",stdout);7 return 0;8: }//什么鬼9D:\22112\CSP-S2025 GX\GX-S00323\road\road.cpp:6 freopen("road.out","w",stdout);7 return 0;8: }//什么鬼9```GX-S00339 同学注释掉了他辛辛苦苦写的百余行代码。::::info[折叠]```D:\22112\CSP-S2025 GX\GX-S00339\club\club.cpp:1: // #include <bits/stdc++.h>2: // using namespace std;34: // int t, n, a, b, c, tot;5: // struct degr{6: // int l1, l2, l3, c[3];7: // }d[100010];89: // bool cmp(int x, int y){10: // return x > y;11: // }1213: // bool cmp2(degr x, degr y){14: // //if(x.c[0] == y.c[0]){15: // if(x.c[2] == y.c[2]){16: // return x.c[1] > y.c[1];17: // }18: // return x.c[2] > y.c[2];19: // //}20: // //return x.c[0] > y.c[0];21: // }2223: // void input(){24: // cin >> n;25: // a = 0;26: // b = 0;27: // c = 0;28: // tot = 0;29: // for(int i = 1; i <= n; i++){30: // cin >> d[i].l1 >> d[i].l2 >> d[i].l3;31: // d[i].c[0] = abs(d[i].l1 - d[i].l2);32: // d[i].c[1] = abs(d[i].l2 - d[i].l3);33: // d[i].c[2] = abs(d[i].l1 - d[i].l3);34: // sort(d[i].c, d[i].c + 3, cmp);35: // }36: // }3738: // void getans(int t1, int t2, int &x, int &y){39: // int tmp = max(t1, t2);40: // if(tmp == t1){41: // if((x << 1) < n){42: // tot += t1;43: // x++;44: // }45: // else {46: // tot += t2;47: // y++;48: // }49: // }50: // else{51: // if((y << 1) < n){52: // tot += t2;53: // y++;54: // }55: // else {56: // tot += t1;57: // x++;58: // }59: // }60: // }6162: // int main(){63: // ios::sync_with_stdio(0);64: // cin.tie(0);65: // cout.tie(0);6667: // freopen("club.in", "r", stdin);68: // freopen("club.out", "w", stdout);6970: // cin >> t;71: // while(t--){72: // input();73: // sort(d + 1, d + n + 1, cmp2);74: // // ----------------------------------------------------------75: // for(int i = 1; i <= n; i++){76: // cout << d[i].l1 << " " << d[i].l2 << " " << d[i].l3 << " " << d[i].c[0] << " "<< d[i].c[1] << " " << d[i].c[2] << endl;77: // }78: // // ----------------------------------------------------------7980: // for(int i = 1; i <= n; ++i){81: // int tmp = max(d[i].l1, max(d[i].l2, d[i].l3));82: // if(tmp == d[i].l1){83: // if((a << 1) < n){84: // tot += tmp;85: // a++;86: // }87: // else getans(d[i].l2, d[i].l3, b, c);88: // }89: // else if(tmp == d[i].l2){90: // if((b << 1) < n){91: // tot += tmp;92: // b++;93: // }94: // else getans(d[i].l1, d[i].l3, a, c);95: // }96: // else{97: // if((c << 1) < n){98: // tot += tmp;99: // c++;100: // }101: // else getans(d[i].l1, d[i].l2, a, b);102: // }103: // // -------------------------------------------------------------------104: // cout << a << " " << b << " " << c << endl;105: // // -------------------------------------------------------------------106: // }107: // cout << tot << endl;108: // }109: // }110111 #include <bits/stdc++.h>```::::GX-S00341 同学对二等十分渴望!```D:\22112\CSP-S2025 GX\GX-S00341\employ\employ.cpp:22 cout<<sum;23 }24: //wo yao shang 2 deng awa25 return 0;26 }D:\22112\CSP-S2025 GX\GX-S00341\replace\replace.cpp:17 cout<<0<<endl;18 }19: //wo yao shang 2 deng awa20 return 0;21 }D:\22112\CSP-S2025 GX\GX-S00341\road\road.cpp:14 }15 cout<<sum;16: //wo yao shang 2 deng awa17 return 0;18 }```很担心 GX-S00345 同学的精神状态……::::info[折叠]```D:\22112\CSP-S2025 GX\GX-S00345\replace\replace.cpp:4 freopen("replace.in","r",stdin);5 freopen("replace.out","w",stdout);6: cout << 0;//iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii7: //iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii8: //iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii9: ////iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii//iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii//iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii//iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii//iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii//iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii//iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii//iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii//iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii//iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii//iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii//iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii//iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii//iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii//iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii//iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii//iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii//iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii//iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii//iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii//iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii//iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii//iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii//iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii//iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii//iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii//iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii//iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii//iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii//iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii//iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii//iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii//iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii//iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii//iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii//iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii//iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii//iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii//iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii//iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii//iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii//iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii//iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii//iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii//iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii//iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii//iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii1011 return 0;D:\22112\CSP-S2025 GX\GX-S00345\road\road.cpp:899091: /////////////////////////////////////////////////////////////////////////////92: //93: //94: //95: //96: //97: //98: //99: //100: //101: //102: //此处省略 1000+ 行```::::选手 GX-S00371 的代码自带水印。```D:\22112\CSP-S2025 GX\GX-S00371\club\club.cpp:1: /*2 CSP-S 20253 Chengsinuo.60 }61 else{ //special B62: /*63 sB dt[MAXN];64 for(int i=0;i<n;i++){D:\22112\CSP-S2025 GX\GX-S00371\road\road.cpp:1: /*2 CSP-S 20253 Chengsinuo```选手 GX-S00385 似乎要退役了,祝好。```D:\22112\CSP-S2025 GX\GX-S00385\club\club.cpp:106 return 0;107 }108: //zaijian,oi109: //afo110D:\22112\CSP-S2025 GX\GX-S00385\employ\employ.cpp:68 return 0;69 }70: // sorry,afo71: // i love you,oi72: // but i was stupid,i cant ...73D:\22112\CSP-S2025 GX\GX-S00385\road\road.cpp:98 return 0;99 }100: // wo hai shi men ban fa...101: // zai jian102: // gan xie wo zai nnsz yu dao de mei yi wei oiers pap103```GX-S00424 同学对自己 $\sim 2\text h$ 切下 T1 感到非常自信!```D:\22112\CSP-S2025 GX\GX-S00424\club\club.cpp:113 }114115: // 16.18 finished I am sickD:\22112\CSP-S2025 GX\GX-S00424\employ\employ.cpp:59 }6061: // 16.18 finished I am sick```GX-S00433 同学的纪念,祝好。```D:\22112\CSP-S2025 GX\GX-S00433\road\road.cpp:105 return 0;106 }107: /*108 这可能是我oi生涯的最后一场比赛吧,今年什么都不会,只能写点部分分109 或许我对oi再认真一点,结果就会有所不同吗?```“T1 实在是太难了啊!”GX-S00444 同学如此感叹道。```D:\22112\CSP-S2025 GX\GX-S00444\club\club.cpp:636465: // it fking hard!66```GX-S00453 同学,你的 impossible 拼错了哦。```D:\22112\CSP-S2025 GX\GX-S00453\employ\employ.cpp:135 }136 }137: if(tmp < m) //imposeble ..what ever138 {139 out("\0");```GX-S00454 同学觉得题目很厉害!```D:\22112\CSP-S2025 GX\GX-S00454\employ\employ.cpp:34 return 0;35 }36: //6666666666666666666666666666666666666666666666666666666666666666666666666666637: //6666666666666666666666666666666666666666666666666666666666666666666666666666638D:\22112\CSP-S2025 GX\GX-S00454\road\road.cpp:18 return 0;19 }20: //666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666... <skipped 373 characters> ...21```GX-S00458 同学的楼梯状注释:```D:\22112\CSP-S2025 GX\GX-S00458\club\club.cpp:55 if(cnt3 >= 1)56 sort(p3 + 1, p3 + cnt3 + 1, cmp3);57: // for(int i = 1; i <= cnt1; i++){58: // cout << p1[i].i;59: // }60: //cout << '\n';61: // for(int i = 1; i <= cnt2; i++){62: // cout << p2[i].j;63: // }64: // cout << '\n';65: //for(int i = 1; i <= cnt3; i++){66: // cout << p3[i].k;67: // }68: // cout << '\n';69: // cout << ans << '\n';70 while(cnt1 > n / 2){71 SS tp = p1[cnt1];```GX-S00472 同学的 `Z9 Zhao`:```D:\22112\CSP-S2025 GX\GX-S00472\club\club.cpp:69 return 0;70 }71: //Z-972: //Zhao73D:\22112\CSP-S2025 GX\GX-S00472\employ\employ.cpp:21 return 0;22 }23: //Z-924: //Zhao25D:\22112\CSP-S2025 GX\GX-S00472\road\road.cpp:100 }101102: //Z-9103: //Zhao104```GX-S00490 同学试图在考场上睡觉,但是失败了。```D:\22112\CSP-S2025 GX\GX-S00490\employ\employ.cpp:7 rp++;8 cout<<"1";9: //16:29 rp++++++++++++++10: //16:51 i will sleep 2 hour good luck!11: //16:55 i can not sleep12: //18:23 rp++++++++++++++13 return 0;14 }```GX-S00523 同学留下了自己的纪念,祝好。```D:\22112\CSP-S2025 GX\GX-S00523\club\club.cpp:103 }104105: //QwQ106: //18:00 le wei shen me yang li dou bu guo ,wo ju ran guo le zui hou yi ge da yang li107: //hai shi bu neng ma108D:\22112\CSP-S2025 GX\GX-S00523\employ\employ.cpp:15 return 0;16 }17: //yi ti bu hui18: //ying gai da bu liao NOIP le19: // QwQ20: //liu ge ji nian ba21: // AFO22D:\22112\CSP-S2025 GX\GX-S00523\replace\replace.cpp:12 return 0;13 }14: //yi ti bu hui15: //ying gai da bu liao NOIP le16: // QwQ17: //liu ge ji nian ba18: // AFO19D:\22112\CSP-S2025 GX\GX-S00523\road\road.cpp:24 cout<<ans;25 }26: //AFO27```GX-S00571 同学的 T2 被卡常了,实际上确实被卡常了,这是为什么呢?```D:\22112\CSP-S2025 GX\GX-S00571\road\road.cpp:149 }150151: // my program has a big problem???152: // O mlogm+n*2^k*logn bu neng guo qu153: // shi ben di ji zi tai man le154: // hai shi stl tai man le155```是不是丢掉 `priority_queue` 就能过了呢。GX-S00608 同学似乎很悲伤。```D:\22112\CSP-S2025 GX\GX-S00608\road\road.cpp:47 freopen("road.in","r",stdin);48 freopen("road.out","w",stdout);49: //ohnonononono50 scanf("%lld%lld%lld",&n,&m,&k);51 for(int i=1,u,v,w;i<=n;i++){```GX-S00627 同学似乎很沮丧。::::info[折叠]```D:\22112\CSP-S2025 GX\GX-S00627\replace\replace.cpp:31 I don't know32 I don't know33: I don't know *//*I don't know34 I don't knowI don't knowI don't know35 I don't know..41 I don't know42 I don't know43: I don't know *//*I don't know44 I don't knowI don't knowI don't know45 I don't know..51 I don't know52 I don't know53: I don't know *//*I don't know54 I don't knowI don't knowI don't know55 I don't know..61 I don't know62 I don't know63: I don't know *//*I don't know64 I don't knowI don't knowI don't know65 I don't know..71 I don't know72 I don't know73: I don't know *//*I don't know74 I don't knowI don't knowI don't know75 I don't know..81 I don't know82 I don't know83: I don't know *//*I don't know84 I don't knowI don't knowI don't know85 I don't know..91 I don't know92 I don't know93: I don't know *//*I don't know94 I don't knowI don't knowI don't know95 I don't know..101 I don't know102 I don't know103: I don't know *//*I don't know104 I don't knowI don't knowI don't know105 I don't know...111 I don't know112 I don't know113: I don't know *//*I don't know114 I don't knowI don't knowI don't know115 I don't know...121 I don't know122 I don't know123: I don't know *//*I don't know124 I don't knowI don't knowI don't know125 I don't know...131 I don't know132 I don't know133: I don't know *//*I don't know134 I don't knowI don't knowI don't know135 I don't know...141 I don't know142 I don't know143: I don't know *//*I don't know144 I don't knowI don't knowI don't know145 I don't know...151 I don't know152 I don't know153: I don't know *//*I don't know154 I don't knowI don't knowI don't know155 I don't know...161 I don't know162 I don't know163: I don't know *//*I don't know164 I don't knowI don't knowI don't know165 I don't know...171 I don't know172 I don't know173: I don't know *//*I don't know174 I don't knowI don't knowI don't know175 I don't know...181 I don't know182 I don't know183: I don't know *//*I don't know184 I don't knowI don't knowI don't know185 I don't know```::::GX-S00639 同学……有点危险啊。```D:\22112\CSP-S2025 GX\GX-S00639\club\club.cpp:37 }38 }39: //fuck from here40 else if(yousan){41 maxt=0;one=0;two=0;```GX-S00655 同学决定开赌!```D:\22112\CSP-S2025 GX\GX-S00655\road\road.cpp:13 for(int i=1;i<=n;i++)cin>>a[j][i];14 }15: //boyibo,danchebianmotuo16 if(n==4){17 cout<<13;```GX-S00657 同学加油哇……```/*I tried my best......T1 :I know how to do but I forgot how to use operatorT2 :I can only get the first 4 pointsT3 :It is too hard for meT4 :Hard ,tooMaybe I should go back for whk*/```#### 神秘代码类我累了,等下再补。1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166714 行未改动16821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694今年 CSP-S 2025 广西赛区,共有 $\sim660$ 人参赛,其中提交文件的选手一共有 $653$ 位,选手们一共写出了 $3984$ 个 ``freopen``,$87$ 个 ``//freopen``,$2151$ 个 ``main``,$3$ 个 ``mian()``,$1$ 个 `fuck`,$1$ 个 `fking`。今年 CSP-S 2025 广西赛区一等奖分数线为 $76$ 分,较 2022 年低了 $2$ 分。有分人数 $373$ 人,占比 $56.52\%$,略低于内蒙古。接下来是具体代码。部分相似的代码会省略,仅举几个例子。### 悔恨终生类以下错误会使代码**一定**变为 $0$ 分,请大家铭记在心。首先是经典的 `//freopen` 环节!- 怎么连文件名都拼错了……::::error[GX-S00091 club.cpp]```cppint main(){//freopen("clud.in","r",stdin);//freopen("clud.out","w",stdout);cin>>t;```::::- 不仅 `//freopen`,还写错了文件名。::::error[GX-S00434 road.cpp]```cpplong long t,n,a[200000],b[200000],c[200000],ma=0,z[1000000],q=0,sum=0;int main(){//freopen("club.in","r",stdin);//freopen("club.out","w",stdout);cin>>t;for(int i=0; i<t; i++){```::::- 同上。::::error[GX-S00513 employ.cpp]}}int main(){freopen("employ3.in","r",stdin);//freopen("employ.out","w",stdout);cin>>n>>m;cin>>s;::::::::error[这里列出剩下中招的选手,希望大家不要学习]当然这里有一些是删掉注释也加不了分的,但是大家还是不要让自己断绝这一点点希望。- GX-S00006:`road.cpp`、`replace.cpp`;- GX-S00008:`club.cpp`;- GX-S00024:`club.cpp`;- GX-S00081;- GX-S00205;- GX-S00348;- GX-S00391:`club.cpp`;- GX-S00419:`employ.cpp`;- GX-S00423:`club.cpp`;- GX-S00488:`employ.cpp`;- GX-S00489:`road.cpp`;- GX-S00497:`club.cpp`;- GX-S00512:`road.cpp`;- GX-S00525:`club.cpp`;- GX-S00548:`replace.cpp`、`employ.cpp`;- GX-S00578:`club.cpp`;- GX-S00604:`employ.cpp`;- GX-S00637:`club.cpp`;- GX-S00640:`road.cpp`;- GX-S00649:`road.cpp`。::::除此之外,还有 `freopen` 缺失的。- 这名同学沉住气打了很长的表,但是他忘记 `freopen *.out` 了。::::error[GX-S00086 employ.cpp]```cpp#include<bits/stdc++.h>#include<iostream>using namespace std;//ruguo ni chenbuchuqi nani jiuhui shibai.int s[501];int main(){freopen("employ.in","r",stdin);freopen("employ.in","w",stdout);int yes=0;int los=0;int dag=0;//guomian zongrenshuint n,m;//定义面试人数n 录取人数mcin>>n>>m; //输入n和m// m=0if(m==0){cout<<"0"<<endl;return 0;}int s1;//定义难度字符串cin>>s1;//输入难度字符串for(int i=n;i>=1;i--){s[i]=s1%10;s1/=10;}//存储难度值部分//m=nif(m==n){for(int i=1;i<=n;i++){if(s[i]==0){cout<<"0"<<endl;return 0;}}int a=1;for(int j=1;j<=n;j++) {a*=j;}cout<<a<<endl;return 0;}int c[n+1];for(int i=1;i<=n;i++){cin>>c[i];//cout<<c[i]<<" ";}//存储耐心值部分//cout<<s[1]<<endl;//n=1if(n==1){if(s[1]==1){cout<<"1"<<endl;return 0;}if(s[1]==0){cout<<"0"<<endl;return 0;}}//n=2if(n==2){if(s[1]==1&&los<c[1]) yes++;else los++;if(s[2]==1&&los<c[2]) yes++;else los++;if(yes>=m) dag++;yes=0,los=0;if(s[1]==1&&los<c[2]) yes++;else los++;if(s[2]==1&&los<c[1]) yes++;else los++;if(yes>=m) dag++;cout<<dag;}//n=3if(n==3){//123if(s[1]==1&&los<c[1]) yes++;else los++;if(s[2]==1&&los<c[2]) yes++;else los++;if(s[3]==1&&los<c[3]) yes++;else los++;if(yes>=m) dag++;yes=0,los=0;//132if(s[1]==1&&los<c[1]) yes++;else los++;if(s[2]==1&&los<c[3]) yes++;else los++;if(s[3]==1&&los<c[2]) yes++;else los++;if(yes>=m) dag++;yes=0,los=0;//213if(s[1]==1&&los<c[2]) yes++;else los++;if(s[2]==1&&los<c[1]) yes++;else los++;if(s[3]==1&&los<c[3]) yes++;else los++;if(yes>=m) dag++;yes=0,los=0;//231if(s[1]==1&&los<c[2]) yes++;else los++;if(s[2]==1&&los<c[3]) yes++;else los++;if(s[3]==1&&los<c[1]) yes++;else los++;if(yes>=m) dag++;yes=0,los=0;//312if(s[1]==1&&los<c[3]) yes++;else los++;if(s[2]==1&&los<c[1]) yes++;else los++;if(s[3]==1&&los<c[2]) yes++;else los++;if(yes>=m) dag++;yes=0,los=0;//321if(s[1]==1&&los<c[3]) yes++;else los++;if(s[2]==1&&los<c[2]) yes++;else los++;if(s[3]==1&&los<c[1]) yes++;else los++;if(yes>=m) dag++;yes=0,los=0;cout<<dag<<endl;}//n=4if(n==4){//1234if(s[1]==1&&los<c[1]) yes++;else los++;if(s[2]==1&&los<c[2]) yes++;else los++;if(s[3]==1&&los<c[3]) yes++;else los++;if(s[4]==1&&los<c[4]) yes++;else los++;if(yes>=m) dag++;yes=0,los=0;//1243if(s[1]==1&&los<c[1]) yes++;else los++;if(s[2]==1&&los<c[2]) yes++;else los++;if(s[3]==1&&los<c[4]) yes++;else los++;if(s[4]==1&&los<c[3]) yes++;else los++;if(yes>=m) dag++;yes=0,los=0;//1324if(s[1]==1&&los<c[1]) yes++;else los++;if(s[2]==1&&los<c[3]) yes++;else los++;if(s[3]==1&&los<c[2]) yes++;else los++;if(s[4]==1&&los<c[4]) yes++;else los++;if(yes>=m) dag++;yes=0,los=0;//1342if(s[1]==1&&los<c[1]) yes++;else los++;if(s[2]==1&&los<c[3]) yes++;else los++;if(s[3]==1&&los<c[4]) yes++;else los++;if(s[4]==1&&los<c[2]) yes++;else los++;if(yes>=m) dag++;yes=0,los=0;//1432if(s[1]==1&&los<c[1]) yes++;else los++;if(s[2]==1&&los<c[4]) yes++;else los++;if(s[3]==1&&los<c[3]) yes++;else los++;if(s[4]==1&&los<c[2]) yes++;else los++;if(yes>=m) dag++;yes=0,los=0;//1423if(s[1]==1&&los<c[1]) yes++;else los++;if(s[2]==1&&los<c[4]) yes++;else los++;if(s[3]==1&&los<c[2]) yes++;else los++;if(s[4]==1&&los<c[3]) yes++;else los++;if(yes>=m) dag++;yes=0,los=0;//2134if(s[1]==1&&los<c[2]) yes++;else los++;if(s[2]==1&&los<c[1]) yes++;else los++;if(s[3]==1&&los<c[3]) yes++;else los++;if(s[4]==1&&los<c[4]) yes++;else los++;if(yes>=m) dag++;yes=0,los=0;//2143if(s[1]==1&&los<c[2]) yes++;else los++;if(s[2]==1&&los<c[1]) yes++;else los++;if(s[3]==1&&los<c[4]) yes++;else los++;if(s[4]==1&&los<c[3]) yes++;else los++;if(yes>=m) dag++;yes=0,los=0;//2314if(s[1]==1&&los<c[2]) yes++;else los++;if(s[2]==1&&los<c[3]) yes++;else los++;if(s[3]==1&&los<c[1]) yes++;else los++;if(s[4]==1&&los<c[4]) yes++;else los++;if(yes>=m) dag++;yes=0,los=0;//2341if(s[1]==1&&los<c[2]) yes++;else los++;if(s[2]==1&&los<c[3]) yes++;else los++;if(s[3]==1&&los<c[4]) yes++;else los++;if(s[4]==1&&los<c[1]) yes++;else los++;if(yes>=m) dag++;yes=0,los=0;//2413if(s[1]==1&&los<c[2]) yes++;else los++;if(s[2]==1&&los<c[4]) yes++;else los++;if(s[3]==1&&los<c[1]) yes++;else los++;if(s[4]==1&&los<c[3]) yes++;else los++;if(yes>=m) dag++;yes=0,los=0;//2431if(s[1]==1&&los<c[2]) yes++;else los++;if(s[2]==1&&los<c[4]) yes++;else los++;if(s[3]==1&&los<c[3]) yes++;else los++;if(s[4]==1&&los<c[1]) yes++;else los++;if(yes>=m) dag++;yes=0,los=0;//3124if(s[1]==1&&los<c[3]) yes++;else los++;if(s[2]==1&&los<c[1]) yes++;else los++;if(s[3]==1&&los<c[2]) yes++;else los++;if(s[4]==1&&los<c[4]) yes++;else los++;if(yes>=m) dag++;yes=0,los=0;//3142if(s[1]==1&&los<c[3]) yes++;else los++;if(s[2]==1&&los<c[1]) yes++;else los++;if(s[3]==1&&los<c[4]) yes++;else los++;if(s[4]==1&&los<c[2]) yes++;else los++;if(yes>=m) dag++;yes=0,los=0;//3214if(s[1]==1&&los<c[3]) yes++;else los++;if(s[2]==1&&los<c[2]) yes++;else los++;if(s[3]==1&&los<c[1]) yes++;else los++;if(s[4]==1&&los<c[4]) yes++;else los++;if(yes>=m) dag++;yes=0,los=0;//3241if(s[1]==1&&los<c[3]) yes++;else los++;if(s[2]==1&&los<c[2]) yes++;else los++;if(s[3]==1&&los<c[4]) yes++;else los++;if(s[4]==1&&los<c[1]) yes++;else los++;if(yes>=m) dag++;yes=0,los=0;//3412if(s[1]==1&&los<c[3]) yes++;else los++;if(s[2]==1&&los<c[4]) yes++;else los++;if(s[3]==1&&los<c[1]) yes++;else los++;if(s[4]==1&&los<c[2]) yes++;else los++;if(yes>=m) dag++;yes=0,los=0;//3421if(s[1]==1&&los<c[3]) yes++;else los++;if(s[2]==1&&los<c[4]) yes++;else los++;if(s[3]==1&&los<c[2]) yes++;else los++;if(s[4]==1&&los<c[1]) yes++;else los++;if(yes>=m) dag++;yes=0,los=0;//4123if(s[1]==1&&los<c[4]) yes++;else los++;if(s[2]==1&&los<c[1]) yes++;else los++;if(s[3]==1&&los<c[2]) yes++;else los++;if(s[4]==1&&los<c[3]) yes++;else los++;if(yes>=m) dag++;yes=0,los=0;//4132if(s[1]==1&&los<c[4]) yes++;else los++;if(s[2]==1&&los<c[1]) yes++;else los++;if(s[3]==1&&los<c[3]) yes++;else los++;if(s[4]==1&&los<c[2]) yes++;else los++;if(yes>=m) dag++;yes=0,los=0;//4213if(s[1]==1&&los<c[4]) yes++;else los++;if(s[2]==1&&los<c[2]) yes++;else los++;if(s[3]==1&&los<c[1]) yes++;else los++;if(s[4]==1&&los<c[3]) yes++;else los++;if(yes>=m) dag++;yes=0,los=0;//4231if(s[1]==1&&los<c[4]) yes++;else los++;if(s[2]==1&&los<c[2]) yes++;else los++;if(s[3]==1&&los<c[3]) yes++;else los++;if(s[4]==1&&los<c[1]) yes++;else los++;if(yes>=m) dag++;yes=0,los=0;//4312if(s[1]==1&&los<c[4]) yes++;else los++;if(s[2]==1&&los<c[3]) yes++;else los++;if(s[3]==1&&los<c[1]) yes++;else los++;if(s[4]==1&&los<c[2]) yes++;else los++;if(yes>=m) dag++;yes=0,los=0;//4321if(s[1]==1&&los<c[4]) yes++;else los++;if(s[2]==1&&los<c[3]) yes++;else los++;if(s[3]==1&&los<c[2]) yes++;else los++;if(s[4]==1&&los<c[1]) yes++;else los++;if(yes>=m) dag++;yes=0,los=0;}return 0;}```::::- 这名同学把所有的 `freopen *.out` 都放在了代码结尾。同时除了 `employ.cpp`,他的所有代码空间都爆炸了。::::error[GX-S00210]```cpp#include<bits/stdc++.h>#include<istream>using namespace std;int t,n[100005],sum[100005][100005],adj[100005],my[100005][100005];int main(){freopen("club.in","r",stdin);cin>>t;for(int i=1;i<=t;i++){cin>>n[i];for(int j=1;j<=n[i];j++){for(int l=1;l<=3;l++){cin>>my[j][l];if(j!=1&&l!=1){if(my[j][l]>my[j-1][l-1]){my[j][l]=sum[i][j];adj[i]+=sum[i][l];adj[i]=adj[i]+sum[i][j];}}}}cout<<adj[i];}freopen("club.out","w",stdout);return 0;}```::::::::error[其他中招的]- GX-S00366,除了 `club.cpp`。- GX-S00496,一个文件都没写。- GX-S00512,`employ.cpp`。- GX-S00580,`employ.cpp`。::::-----接下来是一些 `freopen` 内部的错误。- 直接拷过来忘改了。::::error[GX-S00024 employ.cpp]```cppusing namespace std;int main(){freopen("replace.in","r",stdin);freopen("replace.out","w",stdout);```::::- 怎么还把目录放上来了。::::error[GX-S00071]四份代码都是这么写的。```cppint main(){ios::sync_with_stdio(0);cin.tie(0),cout.tie(0);freopen("//home//noilinux//club//club.in","r",stdin);freopen("//home//noilinux//club//club.out","w",stdout);cin>>n;//表示测试数据组数for(int u=1;u<=n;u++){```::::- `.in` 对了,`.out` 错了。::::error[GX-S00008 road.cpp]```cppint main(){freopen("road.in","r",stdin);freopen("club.out","w",stdout);int n,m,k,h=0;```::::- 滚木。::::error[GX-S00009 road.cpp]```cppusing namespace std;int main(){freopen("","r",stdin);freopen("","w",stdout);int a[2] = {2,3};sort(a[0],a[0]+2);```::::- 测大样例忘改回来了。这个真的丢了 $15$ 分。::::error[GX-S00130 replace]```cppint ans=0;int main(){freopen("replace2.in","r",stdin);freopen("replace.out","w",stdout);scanf("%d%d",&n,&q);getchar();```::::- 从 `.ans` 读入是什么,还有这个 `it` 是什么。::::error[GX-S00346]```cpp{mement(a,0,sizeof());int main(){freopen("club.ans","r",stdin);freopen("club.in","it",stdout);int n;cin>>t;while(t--){```::::- 字符串少写一个双引号,这是怎么做到的。::::error[GX-S00514 employ.cpp]```cpp#include<bits/stdc++.h>using namespace std;int main(){freopen("employ.in,"r",stdin);freopen("employ,out","w",stdout);cout<<0;}```::::- 后缀怎么消失了。::::error[GX-S00578 road.cpp]```cppusing ll = long long;int main(){freopen("road.in","r",stdin);freopen("road","w",stdout);int a,b,c,d,e,f;cin >> a>>b>>c>>d>>e>>f;if(a=4){cout << "13";```::::- `.ans` 尚且可以理解,但是这个 `.write` 是不是有点太离谱了。以及空间还爆炸了。::::error[GX-S00272 club.cpp]int main(){freopen ("club.in","w",stdin);freopen("club.write","r",stdout);int t,n,a[10000000][10000000],b[10000000],c[1000000],d[10000000],m;int b1,c1,d1,ans ,ans2,ans3;cin>>t;for(int p=1;p<=t;p++){cin>>n;m=n/2;::::- 文件名打错了。::::error[GX-S00489 employ.cpp]```cpp#include<bits/stdc++.h>using namespace std;int main(){freopen("enpluy.in","r",stdin);freopen("empluy.out","w",stdout);int x,y;string s;cin>>x>>y>>s;for(int i=1;i<=x;i++){int j;cin>>j;}cout<<"0";return 0;}```::::- `employ.in`,但是点没了。::::error[GX-S00660 employ.cpp]```cpp#include<bits/stdc++.h>using namespace std;int n,m;string s;int a[10005];int main(){freopen("employin","r",stdin);freopen("employ.out","w",stdout);cin>>n>>m;cin>>s;for(int i=1;i<=n;i++)cin>>a[i];cout<<0;return 0;}```::::- `in` 和 `out` 消失了。::::error[GX-S00011 employ.cpp]```cpp#include<bits/stdc++.h>;using namespace std;int main{freopen("employ.in","r","std");freopen("employ.out","w","std");```::::- 这个 `siad.in` 又是什么东西。::::error[GX-S00216]```cpp#include <stdio.h>using namespace std;int main(int argc, char **argv){freopen("club.in" ,"r","siad.in ");freopen("club.out" ,"w","siad.out ");int a;int n;int t;int m;cin>>n;for(int i=0;i<=n;i++){for(int j=0;j<=3;;j++){if(i<=n/2){a+=i;}}}return 0;```::::::::error[其他中招的同学]- GX-S00141:`club.cpp`;- GX-S00204;- GX-S00274;- GX-S00278;- GX-S00297;- GX-S00344:`employ.cpp`;- GX-S00350;- GX-S00351:`employ.cpp`;- GX-S00517:`road.cpp`;- GX-S00537:`employ.cpp`;- GX-S00543:`replace.cpp`;- GX-S00577:`road.cpp`;- GX-S00580:`club.cpp`、`road.cpp`;- GX-S00583:`club.cpp`;- GX-S00589:`road.cpp`;- GX-S00597:`replace.cpp`;- GX-S00598:`empoly.cpp`;- GX-S00619:除了 `replace.cpp`;- GX-S00621;- GX-S00635:`road.cpp`;- GX-S00640:`replace.cpp`。::::-----接下来是源文件名以及文件夹出错的。重复出现的就不放了。- 这位同学提交的是 `down` 文件夹。::::error[GX-S00346]```├─GX-S00346│ └─down│ ├─club│ │ club.cpp│ ││ ├─employ│ │ employ.cpp│ ││ ├─replace│ │ replace.cpp│ ││ └─road│ road.cpp│```::::- 这么喜欢 `poly`。::::error[GX-S00598]```├─GX-S00598│ ├─club│ │ club.cpp│ ││ └─employ│ empoly.cpp```::::- 类似的。::::error[GX-S00337]```├─GX-S00337│ ├─club│ │ clud.cpp│ ││ ├─employ│ │ employ.cpp│ ││ ├─replace│ │ replace.cpp│ ││ └─road│ road.cpp```::::- 怎么做到把文件夹命名为 `.cpp` 的。::::error[GX-S00428]```├─GX-S00428│ └─club.cpp│ club.cpp```::::- `.c++` 是什么。::::error[GX-S00426]```├─GX-S00426│ ├─club│ │ club.c++│ ││ └─road│ club.out│ road│ road.c++│ road.o│ road1.ans│ road1.in│ road2.ans│ road2.in│ road3.ans│ road3.in│ road4.ans│ road4.in```::::- `.c++` 尚且还能理解,但是 `.CCP` 是什么。::::error[GX-S00063]```├─GX-S00063│ ├─club│ │ club.CCP│ ││ ├─employ│ │ employ.CCP│ ││ ├─replace│ │ replace.CCP│ ││ └─road│ replace.CCP```::::- 怎么还有一个后缀名都没有的???::::error[GX-S00365]```├─GX-S00365│ ├─club│ │ club│ ││ ├─employ│ │ employ│ ││ ├─replace│ │ replace│ ││ └─road│ road```::::- 忘记重命名了。::::error[GX-S00390]```├─GX-S00390│ ├─club│ │ club.cpp│ ││ ├─employ│ │ Untitled7│ ││ ├─replace│ └─road```::::- 我已经分不清这是故意写错还是什么了。::::error[GX-S00651]```├─GX-S00651│ ├─club│ │ club.cpp│ ││ ├─employ│ │ empioy.cpp│ ││ ├─replace│ │ replace.cpp│ ││ └─road│ road3.cpp```::::- 怎么还有交 J 组代码的。::::error[GX-S00118]```├─GX-S00118│ ├─number│ │ number.cpp│ ││ ├─polygon│ │ polygon.cpp│ ││ ├─seat│ │ seat.cpp│ ││ └─xor│ xor.cpp```::::-----接下来是各种 CE。- `using namepsace` 还能粘一块的。::::error[GX-S00651]```cpp#include <stdio.h>usingnamespace std;int main(int argc, char **argv){return 0;}```::::- 写 Python 写多了。::::error[GX-S00011 employ.cpp]```cpp#include<bits/stdc++.h>;using namespace std;int main{freopen("employ.in","r","std");freopen("employ.out","w","std");int n;p = [];return 0;}```::::- `froepen` 单独写外面,`using namespace;`,还有其他的问题。- 同时 GX-S00616 也犯了同样的错误。::::error[GX-S00076]```cpp#include<bits/stdc++.h>using namespace;freopen("club.in","r",stdin);freopen("club.out","w",stdout);int m,t,n,a[3][100003],b[200003],n[3],l,min,h,d;double an;fool f;int main(){cin>>t;for(;t>0;t--){cin>>n;u=n;n/=2;for(int m=u;m>0;m--){cin>>a[0][m]>>a[1][m]>>a[2][m];int z=max(a[0][m],a[1][m],a[2][m]);if(f){if(a[l][m]!=z) an+=zelse{int p=max(a[h][m],a[d][m])if(min>z) an+=p;else{p=z-p;an=an+z-min;a[l][p]++;for(int i=0;i<p,i++){if(a[l][i]) min=i;break;}}}}else {an+=z;if(a[0][m]==z){an+=a[0][m];n[0]++;if(n[0]==n){f=ture;l=0;h=1;d=2;}}else if(a[1][m]==z){an+=a[1][m];n[1]++;if(n[1]==n){f=ture;l=1;h=0;d=2;}}else{an+=a[2][m];n[2]++;if(n[2]==n){f=ture;l=2;h=1;d=0;}}if(f){for(int i=u;i>=n;i--){if(max(a[l][i]==max(a[l][i],a[h][i],a[d][i])){b[a[l][i]-a[h][i]]++;b[a[l][i]-a[d][i]]++;}}for(int i=0;i<2000000;i++){if(b[i]){min=b[i];break;}}}}}cout<<an;}}```注意到这里花括号还没有匹配。::::- 这个是不是也是 Python 写多了。::::error[GX-S00281 club.cpp]```cppdouble m;int a,b,c;int x=0,y[5]=[0,0,0,0,0];int main(){cin>>n;```::::- 唐突出现的下划线。::::error[GX-S00363 replace.cpp]```cpp#include <bits/stdc++.h>using namespace std;int main() {freopen("replace.in", "r", stdin);freopen("replace.out", "w", stdout);return 0;_}```::::- `reopen`。::::error[GX-S00482 employ.cpp]```cpp#include<bits/stdc++.h>using namespace std;string s;int n,m,a[510],f,ans;int main(){freopen("employ.in","r",stdin);reopen("employ.out","w",stdout);cin>>n>>m;cin>>s;for(int i=1;i<=n;i++){cin>>a[i];if(a[i]>0) f++;}for(int i=1;i<=n;i++){ans+=i;}cout<<ans%998244353;return 0;}```::::- `stdin` 当 `freopen` 用。::::error[GX-S00342]```cpp}}}int main(){stdin(club.in,'w',stdin);stdout(club.out,'r',stdout);cin>>t;int g[t],y=0;for(int i=0;i<t;i++){cin>>n;```::::- `2n`。::::error[GX-S00512 employ.cpp]```cpp#include <iostream>using namespace std;int main(){int n,m,s;cin>>n>>m;for(int i=0;i<2n;i++){cin>>s;}cout<<'2';return 0;}```::::- 怎么做到把 `"*.in"` 和 `"r"` 粘一起的。::::error[GX-S00568]```cppint t,n;int main(){freopen("club.in""r",stdin);freopen("club.out""w",stdout);cin>>t;```::::- 数组大小 `1e9`,经测试不能使用浮点数作数组大小。::::error[GX-S00574 road.cpp]```cpp#include<bits/stdc++.h>using namespace std;int main(){freopen("road.in","r",stdin);freopen("road.out","w",stdout);int m,n,k;int u[n],v[n],w[1e9];cin>>n>>m>>k;for(int i=0;i<m;i++){cin>>u[i]>>v[i]>>w[i];}return 0;}```::::- `dits/stdc++.h`。::::error[GX-S00140]```cpp#include<dits/stdc++.h>using namespace std:int main(){freopen(club.in,r,stdin)freopen(club.out,w,stdout)int a,b;cin>>a>>b;cout<<a<<b;return 0;}```::::- `continue;` 后面怎么有个数字。::::error[GX-S00582]```cpp}if (zero){sort (a+1,a+1+n);for (int i=n;i>n/2;i--) ans+=a[i];cout << ans<< endl;continue;4}else {ans=0;for(int i=1;i<=n;i++) ans+=max(max(a[i],b[i]),c[i]);cout << ans<< endl;}return 0;}```::::-----接下来是 MLE 的,不知道为什么那么多人。::::error[MLE]- GX-S00046:`club.cpp`;- GX-S00122;- GX-S00210;- GX-S00217;- GX-S00376:`club.cpp`、`road.cpp`;- GX-S00383:`road.cpp`;- GX-S00418:`road.cpp`;- GX-S00432:`road.cpp`;- GX-S00545:`road.cpp`;- GX-S00566:`road.cpp`;- GX-S00659:`club.cpp`。::::### 自我介绍类下面是各种各样的自我介绍。- gaogao05:先使用 `//freopen` 勾引,然后再自我介绍。::::info[GX-S00606 employ.cpp]```cppfor(int i=1;i<=n;i++){cin>>c[i];}//freopen(".in","r",stdin);//freopen(".out","w",stdout);dfs(0,0);cout<<ans;return 0;}//freopen stwout Nevergonnagive you up//my luogu name is gaogao05.```::::- JadeFox2012。::::info[GX-00019]```cpp//my names in Luogu is JadeFox2012```::::- Chengsinuo。::::info[GX-S00371]```cpp/*CSP-S 2025ChengsinuoGX-S00371T1 club.cpp*/```::::- Otaku。::::info[GX-S00424 club.cpp]```cppconstexpr int N = 1e5 + 514;namespace Otaku {int n, ans, cnt;int A, B, C, val[N][4];int vis[N];```::::- anbeniya。::::info[GX-S00212 club.cpp]```cppstruct anbeniya{int mx,se,ed;int s1,s2,s3;int sum;}awa[maxn];bool cmp1(anbeniya x,anbeniya y){if(x.mx==y.mx){if(x.se==y.se) return x.ed>y.ed;else return x.se>y.se;}else return x.mx>y.mx;}```::::- Birds_int_he_sky。::::info[GX-S00613 club.cpp]```cpp* Luogu UID:819326* 2025/11/01```::::- CHmobei123。::::info[GX-S00631 road.cpp]```cppif(n==0&&m==0&&k==0){cout<<8745789342875784592347532<<"ejhfojkhfasjhfij4ihjmieuchg9wuhgkekejncm9qghnv5uq7 h84vm4uiowhiot ht9wyt9whtowhtow ";}if(PCL[1]==10101001){cout<<"Minecraft is a good game.First the stranger is 'Hypixel',the IPv4 is 'Hypixel.net',but Hypixel is need to pay 89 dolor to the minecraft.net to shopping.It is so difficult "<<endl;cout<<"So a China employ pay the 20000000 dolor to shop the China minecraft.2020 the employ creative 'bujidao',it a good play game the 'bujidao'IPv4 is 'bujidao.net'"<<endl;cout<<"All in all,minecraft lancher is so difficult,so the longtengmaoyue creative Plain Craft Lancher it name PCL so cool!";}if(PCL[n]==2009){cout<<"Oh you maybe search a egg!";cout<<endl<<"Minecraft was creat 2009.The creater is Norch and MoJang.MoJang is more people";cout<<endl<<"All in all,I like minecraft.I like PCL.I like life.";}if(PCL[n-1]==1012){cout<<"lalala wo shi cai dan wo xi huan wan MC wo MC de zheng ban zhang hao ming cheng jiao CHmobei123 duan kou hao shi jp.frp:16121,wo zui jing xi huan wan chun sheng cun dang ran you shi hou wo hui wan Hypixel you shi wan 2b2t.org huo zhe 2b2t.xin yi qi wan ma?ovo";}if(w==1){cout<<"heirjowhgi435uh8i45h43u2hgiou4rh3iogh29uhg9803h49tg8j95ht9h25g795f93fh8fh823hfiuo2hjnregnifoi5ghio5uhoi24uhgu5ghgo2ihg2ui5hgi4u5";}if(w==84){cout<<54188;}if(w==78){cout<<18813818878;}if(w==2009){cout<<"ni zhi dao ma an zhu w+Ctrl ke yi ji pao dan shi wo xi guan yong w+r lai kong zhi ji pao";cout<<"lalalalalalalala kulikulikulikuli lalalalalalalala yiqinahancangtiandadi zhejiushiwomendekuli jishudingjiandekuli";cout<<"huilaibaminishijie wozuijiaoaodexinyang lilizaimudekaka yanleimomingzailiutang yixijidehuaxiaolou haiyoukeaidenini badirendoudatui wandaotongxiaoyebulei";}```::::- Ff472130。::::info[GX-S00318]```cpp#define qwq Ff472130```::::### 心路历程&整活&各种奇奇怪怪的行为类- qwq。::::info[GX-S00271 road.cpp]```cppcout <<ans;//solution1();//qwqreturn 0;}```::::- 对 CCF 求情以得到 $100$ 分;对 NOIP 的渴望;不可以总司令能在出现一次吗?::::info[GX-S00019]```cpp//I Love CCF.I Want 100pts in this problem!//I only have 172pts,can i go to NOIP(sad)?i want to go it!//bu ke yi zong si ling neng zai chu xian yi ci ma?```::::- 乐 $\to$ 不乐。::::info[GX-S00016]```File: D:\22112\CSP-S2025 GX\GX-S00016\club\club.cppPath: D:\22112\CSP-S2025 GX\GX-S00016\club\club.cpp------------------------------------------Single Comments:[Line 3]: // Love Try My Best==========================================File: D:\22112\CSP-S2025 GX\GX-S00016\employ\employ.cppPath: D:\22112\CSP-S2025 GX\GX-S00016\employ\employ.cpp------------------------------------------Single Comments:[Line 3]: // I'M NOOB==========================================File: D:\22112\CSP-S2025 GX\GX-S00016\replace\replace.cppPath: D:\22112\CSP-S2025 GX\GX-S00016\replace\replace.cpp------------------------------------------Single Comments:[Line 3]: // ICANTDOTHAT==========================================File: D:\22112\CSP-S2025 GX\GX-S00016\road\road.cppPath: D:\22112\CSP-S2025 GX\GX-S00016\road\road.cpp------------------------------------------Single Comments:[Line 3]: // EZ NOOB```::::- 最用心写的一个、最用心写的第二个、少羽牛逼,还有一个没读懂。::::info[GX-S00135]```==========================================File: D:\22112\CSP-S2025 GX\GX-S00135\club\club.cppPath: D:\22112\CSP-S2025 GX\GX-S00135\club\club.cpp------------------------------------------Single Comments:[Line 36]: // for(int i=1;i<=n;i++)[Line 37]: // {[Line 38]: // cout<<st[i].a[1]<<st[i].a[2]<<st[i].a[3]<<endl;[Line 39]: // }[Line 51]: // cout<<st[i].b[bj]<<" "<<bj<<" "<<sum<<endl;[Line 56]: // cout<<st[i].b[bj]<<" "<<bj<<" "<<sum<<endl;[Line 57]: // for(int j=1;j<=3;j++) cout<<cnt[j]<<" ";[Line 58]: // cout<<endl;[Line 71]: // cout<<st[i].b[bj]<<" "<<bj<<" "<<sum<<endl;[Line 76]: // cout<<st[i].b[bj]<<" "<<bj<<" "<<sum<<endl;[Line 77]: // for(int j=1;j<=3;j++) cout<<cnt[j]<<" ";[Line 78]: // cout<<endl;[Line 96]: //zuei yuong xin xie de yi ge[Line 97]: //55==========================================File: D:\22112\CSP-S2025 GX\GX-S00135\employ\employ.cppPath: D:\22112\CSP-S2025 GX\GX-S00135\employ\employ.cpp------------------------------------------Single Comments:[Line 61]: //zuei yuong xin xie de di er ge[Line 62]: //55==========================================File: D:\22112\CSP-S2025 GX\GX-S00135\replace\replace.cppPath: D:\22112\CSP-S2025 GX\GX-S00135\replace\replace.cpp------------------------------------------Single Comments:[Line 10]: //shao yu niu bi[Line 11]: //55==========================================File: D:\22112\CSP-S2025 GX\GX-S00135\road\road.cppPath: D:\22112\CSP-S2025 GX\GX-S00135\road\road.cpp------------------------------------------Single Comments:[Line 10]: //codm hui tiao bp50[Line 11]: //55```::::- 喜欢玩游戏。::::info[GX-S00139]```File: D:\22112\CSP-S2025 GX\GX-S00139\employ\employ.cppPath: D:\22112\CSP-S2025 GX\GX-S00139\employ\employ.cpp------------------------------------------Single Comments:[Line 10]: //Just do it![Line 11]: //It is too difficult to me![Line 12]: //So I do not want to do it any more![Line 13]: //I want to play the Star Rail[Line 14]: //If I can not AK I will play GXXXX Impact[Line 15]: //And I will play the Count Strike 2[Line 16]: //Thanks for your listening!...[Line 289]: //Just do it![Line 290]: //It is too difficult to me![Line 291]: //So I do not want to do it any more![Line 292]: //I want to play the Star Rail[Line 293]: //If I can not AK I will play GXXXX Impact[Line 294]: //And I will play the Count Strike 2[Line 295]: //Thanks for your listening!==========================================File: D:\22112\CSP-S2025 GX\GX-S00139\replace\replace.cppPath: D:\22112\CSP-S2025 GX\GX-S00139\replace\replace.cpp------------------------------------------Single Comments:[Line 10]: //Just do it![Line 11]: //It is too difficult to me![Line 12]: //So I do not want to do it any more![Line 13]: //I want to play the Star Rail[Line 14]: //If I can not AK I will play GXXXX Impact[Line 15]: //And I will play the Count Strike 2[Line 16]: //Thanks for your listening![Line 19]: //Just do it![Line 20]: //It is too difficult to me![Line 21]: //So I do not want to do it any more![Line 22]: //I want to play the Star Rail[Line 23]: //If I can not AK I will play GXXXX Impact[Line 24]: //And I will play the Count Strike 2[Line 25]: //Thanks for your listening![Line 27]: //Just do it![Line 28]: //It is too difficult to me![Line 29]: //So I do not want to do it any more![Line 30]: //I want to play the Star Rail[Line 31]: //If I can not AK I will play GXXXX Impact[Line 32]: //And I will play the Count Strike 2[Line 33]: //Thanks for your listening!...[Line 289]: //Just do it![Line 290]: //It is too difficult to me![Line 291]: //So I do not want to do it any more![Line 292]: //I want to play the Star Rail[Line 293]: //If I can not AK I will play GXXXX Impact[Line 294]: //And I will play the Count Strike 2[Line 295]: //Thanks for your listening!```::::- 唱歌。怎么没唱完。::::info[GX-S00149]```cpp//I'm always knew where I stood,I try to be so good.//Look at me now,I don't know how,but I'm real hero.//No hiding in the```::::- 怎么看出 T4 是费用流板子的。::::info[GX-S00167 employ.cpp]```cpp#include<bits/stdc++.h>using namespace std;//fei yong liu mu ban 48struct Node{int to, nxt, w;}e[100010];```::::- 伟大的心路历程,以及恭喜拿到七勾。::::info[GX-S00169]```==========================================File: D:\22112\CSP-S2025 GX\GX-S00169\club\club.cppPath: D:\22112\CSP-S2025 GX\GX-S00169\club\club.cpp------------------------------------------Multi Comments:/*froepenzhe sha a?????14 行未改动rang wo na gou 7 ba qwq*/==========================================File: D:\22112\CSP-S2025 GX\GX-S00169\employ\employ.cppPath: D:\22112\CSP-S2025 GX\GX-S00169\employ\employ.cpp------------------------------------------Multi Comments:/*hywhe yi wei?????????????qwqqwqqwqqwqqwqqwqqwq*/==========================================File: D:\22112\CSP-S2025 GX\GX-S00169\replace\replace.cppPath: D:\22112\CSP-S2025 GX\GX-S00169\replace\replace.cpp------------------------------------------Multi Comments:/*hywhe yi wei?????????????qwqqwqqwqqwqqwqqwqqwq*/==========================================File: D:\22112\CSP-S2025 GX\GX-S00169\road\road.cppPath: D:\22112\CSP-S2025 GX\GX-S00169\road\road.cpp------------------------------------------Multi Comments:/*wo zen me bu hui t1????t2 kan zhe xiang mst???????howwo gan jue wo yao fei le/ll/ll/ll/llhrgf;gr;ehgersou;hgesrffffffff*/```::::- 🗿🗿🗿。::::info[GX-S00201]```cpp#include<bits/stdc++.h>using namespace std;const int N=10000086;int main(){freopen("club.in","r",stdin);freopen("club.out","w",stdout);int t;cin>>t;while(t--){int n;cin>>n;for(int i=1;i<=n;i++){for(int y=1;y<=3;y++){int a1,a2,a3;cin>>a1>>a2>>a3;}}}return 0;//bro know me?🗿🗿🗿}```::::- 背诵岳阳楼记、醉翁亭记,真是好学生。::::info[GX-S00288]```cpp/*zui weng ting jiou yang xiuhcjsy,qxnzf,lhymwzwresxz,lyy.sxlql,jwsscc,excylfzjz,nqy.fhlz,ytyrlyqsz,zwty.ztzs?szszxy;mzzs?tszwy.tsyklyyc,yszz,enyzq,ggzhy:"zw"y.zwzybzj,zhsszjy,sszl,dzyeyzjyrfrceyfk,ygeyxm.hmbhz,sjzzmy,yffeyx,jmxefy,ssgj,slesc,zjzssy.zew,meg,sizjbt,elywqy.zyfzgyt,xzxys,qzh,hzy.lytx,wlebjz,cryy.lxey,xseyf;nqwj,qxejl.syys,zreqcz,tsyy.yhzl,fsfz,tzs,yzz,gcjc,zbhy.qzcybf,trhqjz,tszy.yexyzs,rxsl,tsgebkcy.slyy,mssx,yygeqnly.eqnzslzl,bzrzl.rzctsyel,ebztszlqly.zntql,xnsywz,tsws?lu lin ou yang xiu ye.*/``````cpp/*yue yang lou jifan zhong yanqlsnc,tzjzsblj.ymn,ztrh,bfjx,ncxyyl.zqjz,ktxjnsfyqs,zyzwyjzygfblsz,zdtyh.xys,tcj,hhss,hwjy.zhxy,qxwq,czyylzdgy,qrzsby.rzbtwx,njxx,qksr,dhyc,lwzq,dwyhrfyyff,lybk,yfnh,zlpk,rxyy,syqx,slbx,qqjc.bmmmhxyt.dsly,zyqghx,ycwj,mmxr,gjebzyzrchjm,blbj,xxtg,ybwq,soxj,jlyy,aztl,yyqq.ehcyyk,hyql,fgyj,jycb.dsly,zyxksy,crxw,bjlf,qxyyzy.jh!ycqgrrzx,hycezw,hz?bywx,byjb,jmtzgzyqj,cjhzyzyqm.sjyy,tyy,rzhsely?qby:"xtxzyey,htxzlel.'h.wsr,wsyg?slnjyswr.*/```::::- 我能拿二等吗。::::info[GX-S00341]```cpp//wo yao shang 2 deng awa```::::- 切 T1 的选手就是自信!::::info[GX-S00424 club.cpp]```cpp// 16.18 finished I am sick```::::- 禁三警告。::::info[GX-S00444 club.cpp]```cppans-=c[i].cost;top[k]--;}i++;}break;}}printf("%d\n",ans);}return 0;}// it fking hard!```::::- 这个我不是很懂。::::info[GX-S00472]```cpp}//Z-9//Zhao```::::- 试图在考场上睡觉,但是失败了。::::info[GX-S00490]```cpp//16:29 rp++++++++++++++//16:51 i will sleep 2 hour good luck!//16:55 i can not sleep//18:23 rp++++++++++++++```::::- T2 被卡常了。预先把所有边排一遍是不是就可以了呢。::::info[GX-S00571 road.cpp]```cpp// my program has a big problem???// O mlogm+n*2^k*logn bu neng guo qu// shi ben di ji zi tai man le// hai shi stl tai man le```::::- ohnonononono。::::info[GX-S00608 road.cpp]```cpp}*/}signed main(){freopen("road.in","r",stdin);freopen("road.out","w",stdout);//ohnononononoscanf("%lld%lld%lld",&n,&m,&k);for(int i=1,u,v,w;i<=n;i++){scanf("%lld%lld%lld",&u,&v,&w);e.push_back({u,v,w});}```::::- 禁三警告 $\times 2$。::::info[GX-S00639 club.cpp]```cppmaxt+=a[i].a1;}}//fuck from hereelse if(yousan){maxt=0;one=0;two=0;sort(a+1,a+n+1,cmp1);```::::- 搏一搏,单车变摩托。::::info[GX-S00655 road.cpp]```cpp//boyibo,danchebianmotuoif(n==4){cout<<13;return 0;}if(n==1000&&k==5){cout<<505585650;return 0;}if(n==1000&&k==10&&u[1]==709){cout<<504898585;return 0;}if(n==1000&&k==10&&u[1]==711){cout<<5182974424;return 0;}```::::- 自我总结,希望他再接再厉。::::info[GX-S00657 club.cpp]```cpp/*I tried my best......T1 :I know how to do but I forgot how to use operatorT2 :I can only get the first 4 pointsT3 :It is too hard for meT4 :Hard ,tooMaybe I should go back for whk*/```::::- Hello World!::::info[GX-S00007 employ.cpp]```cpp#include <bits/stdc++.h>#define IOFILE "employ"using namespace std;int main() {freopen(IOFILE".in", "r", stdin);freopen(IOFILE".out", "w", stdout);cout << "Hello World!" << endl;return 0;}```::::- 大起大落。::::info[GX-S00055 employ.cpp]```cpp#include<bits/stdc++.h>using namespace std;int main(){freopen("employ.in","r",stdin);freopen("employ.out","w",stdout);while(true){cout<<"YES!!!!!!!!!!!!!!!";}return 0;}```::::::::info[GX-S00055 replace.cpp]```cpp#include<bits/stdc++.h>using namespace std;int main(){freopen("replace.in","r",stdin);freopen("replace.out","w",stdout);while(true){cout<<"NO!!!!!!!!!!!!!!!";}return 0;}```::::- 哈基米。::::info[GX-S00361]```cpp#include <bits/stdc++.h>#define MAXN 100010#define HAJIMINANBEILVDOU 0using namespace std;int a[MAXN],b[MAXN],c[MAXN];typedef struct ffff{int aa;int bb;```::::- 题目锐评。::::info[GX-S00394]```==========================================File: D:\22112\CSP-S2025 GX\GX-S00394\club\club.cppPath: D:\22112\CSP-S2025 GX\GX-S00394\club\club.cpp------------------------------------------Single Comments:[Line 57]: if(s[1]<nn){//1 a[Line 66]: if(s[2]<nn){//2 b[Line 75]: if(s[3]<nn){//3 cMulti Comments:/*1s512eazy back-way greedy*/==========================================File: D:\22112\CSP-S2025 GX\GX-S00394\employ\employ.cppPath: D:\22112\CSP-S2025 GX\GX-S00394\employ\employ.cpp------------------------------------------Single Comments:[Line 59]: // cin>>T;Multi Comments:/*1s512horrible counting problem*/==========================================File: D:\22112\CSP-S2025 GX\GX-S00394\replace\replace.cppPath: D:\22112\CSP-S2025 GX\GX-S00394\replace\replace.cpp------------------------------------------Single Comments:[Line 51]: // cin>>T;Multi Comments:/*1s2048I pay little time on the strings' algorithm, so here comes the result.*/==========================================File: D:\22112\CSP-S2025 GX\GX-S00394\road\road.cppPath: D:\22112\CSP-S2025 GX\GX-S00394\road\road.cpp------------------------------------------Single Comments:[Line 77]: // cin>>T;Multi Comments:/*1s5121e9 per second*/```::::- 骗分创奇迹,打表出省一。::::info[GX-S00398 club.cpp]```cpp#include<iostream> //pianfen chuang qiji dabiao chu shengyi```::::- 不会写。以及另一个 helloworld。::::info[GX-S00482 replace.cpp]```cpp#include<bits/stdc++.h>using namespace std;int main(){freopen("replace.in","r",stdin);freopen("replace.out","w",stdout);cout<<"I don't know how to write"<<endl;return 0;}```::::::::info[GX-S00482 road.cpp]```cpp#include<bits/stdc++.h>using namespace std;int main(){freopen("road.in","r",stdin);freopen("road.out","w",stdout);cout<<"Hello World"<<endl;return 0;}```::::- 万元申万的。::::info[GX-S00484]```cppstruct kafka{int y,e,s,max1,max2,max3;bool sf;};struct hutao{int c1,c2,c3;};bool cmp(kafka a,kafka b){return a.max1<b.max1;}int main()```::::- 这个会玩。各种有意思的 `#define`。::::info[GX-S00539 road.cpp]```cpp#include<bits/stdc++.h>#define CCF using#define Colect_Many namespace#define Coins std;#define TenYearsOIisEmpty long long#define NoLongLongSeeGrandGrandParents long long#define IdieTrue cin#define FlashingChen struct#define XiaoMi bool#define IdontWantToBeZerowuwu freopen("road.in","r",stdin);#define IdontWantToBeZerowuwuwu freopen("road.out","w",stdout);#define PissInto push_back#define OhMyGod break;#define NotTrue false#define NotFalse true#define Ture falseCCF Colect_Many Coinsvector<TenYearsOIisEmpty>g[10004];FlashingChen node{TenYearsOIisEmpty u,v,w;}a[10004];TenYearsOIisEmpty n,m;NoLongLongSeeGrandGrandParents k;XiaoMi check(){XiaoMi vis[10004];queue<TenYearsOIisEmpty>q;q.push(1);vis[1]=NotFalse;while(!q.empty()){TenYearsOIisEmpty frt=q.front();q.pop();for(TenYearsOIisEmpty i=0;i<g[frt].size();i++){if(vis[g[frt][i]]) continue;vis[g[frt][i]]=NotFalse;q.push(g[frt][i]);}}for(TenYearsOIisEmpty i=1;i<=n;i++){if(!vis[i]) return NotTrue;}return NotFalse;}XiaoMi cmp(node a,node b){return a.w<b.w;}signed main(){IdontWantToBeZerowuwuIdontWantToBeZerowuwuwuIdieTrue>>n>>m>>k;for(TenYearsOIisEmpty i=1;i<=m;i++){IdieTrue>>a[i].u>>a[i].v>>a[i].w;}sort(a+1,a+1+m,cmp);XiaoMi flag=NotTrue;TenYearsOIisEmpty cnt=0,sum=0;while(Ture){cout<<"I love OI?"<<endl;}while(flag==NotTrue){flag=check();if(flag) OhMyGod;g[a[++cnt].v].PissInto(a[cnt].u);g[a[cnt].u].PissInto(a[cnt].v);sum+=a[cnt].w;}cout<<sum;return 0;}```::::- 可爱。::::info[GX-S00573 employ.cpp]```cppui die = 0;//cout << "moni...\n";//for (ui i = 1; i <= n; ++i) cout << a[i] << " ";//cout << '\n';for (ui i = 1; i <= n; ++i) {ui p = a[i];ui cc = c[p];if (die >= cc) {++die;//cout << p << " has died ;-;\n";continue;}if (s[i] == '0') {++die;//cout << p << " has died ;-;\n";continue;}++res;}//cout << "moni end!\n";if (res >= m) ++ans;```::::- original 拼错了。::::info[GX-S00592 road.cpp]```cpp#include<bits/stdc++.h>using namespace std;#define ll long longvoid pre(){freopen("road.in","r",stdin);freopen("road.out","w",stdout);}int main(){pre();init();prim();//a oringe mapcout<<ans<<endl;return 0;}```::::- $211985,521$,以及一些不知道是不是有特殊含义的三字母。::::info[GX-S00601 club.cpp]```cpp#define int long longconst int N=211985;const int M=1000000007;using namespace std;char cvb;int re(){int dfg=0,fgh=1;cvb=getchar();while(cvb>'9'||cvb<'0'){if(cvb=='-') fgh=-1;cvb=getchar();}while(cvb>='0'&&cvb<='9'){dfg=(dfg<<1)+(dfg<<3)+cvb-'0';cvb=getchar();}return dfg*fgh;}int n,b[4],T,q,t[4],ans;struct jg{int val,x;}a[N];bool gz(jg xx1,jg xx2) {return xx1.val<xx2.val;}signed main()```::::::::info[GX-S00601 employ.cpp]```cpp#include<cstdlib>#define int long longconst int N=521;const int M=998244353;using namespace std;char cvb;```::::- 碎碎念、发病、唱歌。::::info[GX-S00613]```cpp/** 初三了,打完这场CSP就去备考了。要是考不上有OI训练营的高中就真的AFO了……* 估分35pts,这题大概是DP但我不会写(悲* 求进迷惑行为大赏* 我是温迪的狗!!!* 我是温迪的狗!!!* 我是温迪的狗!!!* 我是温迪的狗!!!* 我是温迪的狗!!!* 我是温迪的狗!!!* 我是温迪的狗!!!* 我是温迪的狗!!!* 我是温迪的狗!!!* 我是温迪的狗!!!** 《风与飞鸟》* 传说那阳光* 沐浴万物生长* 而我抬头* 风沙万丈** 在那背后* 是怎样的蓝天* 一墙之隔* 一生之所向** 陌生的精灵* 听到这琴声吗* 随我歌唱* 带我远洋** 再小的希望* 能像花一样尽情绽放* 迎接朝阳** 不安的音符跳动着* 在心中鸣响乐章* 没有人能困住灵魂* 站起身伸出翅膀** (这段忘了)** 顷刻间意志* 如同熊熊烈火* 看它燎原* 肆意盘旋** 迷途的人们* 别再遮蔽双眼* 迎向逆风* 怒视深渊** 随着我自由地高歌* 回荡在塔顶漩涡* 在王座崩落的一刻* 我看见天的颜色** ……后面忘了* (666高潮部分全忘了,记性真好)* ……前面忘了** 传说那阳光* 沐浴万物生长* 风与飞鸟* 自由飞翔** Luogu UID:819326* 2025/11/01*/```::::- GXOI。::::info[GX-S00638]```cpp#define GXOI ioxg```::::- 不知道是什么的暴力。::::info[GX-S00270 club.cpp]```cpp#include<bits/stdc++.h>using namespace std;int main(){freopen("club.in","r",stdin);freopen("club.out","w",stdout);long long a;cin>>a;for(int i=0;i<a;i++){int t=0;cin>>t;if(t==2){int p1,p2,p3,p4,p5,p6;cin>>p1>>p2>>p3>>p4>>p5>>p6;cout<<max(p1+p5,max(p1+p6,max(p2+p6,max(p2+p4,max(p3+p4,p3+p5)))))<<endl;}else if(t==4){int ll[12]={0};for(int ii=1;ii<=12;ii++){cin>>ll[ii];}long long d=0;for(int i1=1;i1<=3;i1++){for(int j=1;j<=3;j++){for(int k=1;k<=3;k++){for(int ss=1;ss<=3;ss++){int y=0,e=0,s=0;if(i1==1){y++;}if(j==1){y++;}if(k==1){y++;}if(ss==1){y++;}if(i1==2){e++;}if(j==2){e++;}if(k==2){e++;}if(ss==2){e++;}if(i1==3){s++;}if(j==3){s++;}if(k==3){s++;}if(ss==3){s++;}if(y<=2&&e<=2&&s<=2){if((ll[i1]+ll[j+3]+ll[k+6]+ll[ss+9])>d){d=ll[i1]+ll[j+3]+ll[k+6]+ll[ss+9];}}}}}}cout<<d<<endl;}else if(t==10){int ll[30]={0};for(int ii=1;ii<=30;ii++){cin>>ll[ii];}long long d=0;for(int i1=1;i1<=3;i1++){for(int i2=1;i2<=3;i2++){for(int i3=1;i3<=3;i3++){for(int i4=1;i4<=3;i4++){for(int i5=1;i5<=3;i5++){for(int i6=1;i6<=3;i6++){for(int i7=1;i7<=3;i7++){for(int i8=1;i8<=3;i8++){for(int i9=1;i9<=3;i9++){for(int i10=1;i10<=3;i10++){int y=0,e=0,s=0;if(i1==1){y++;}if(i2==1){y++;}if(i3==1){y++;}if(i4==1){y++;}if(i5==1){y++;}if(i6==1){y++;}if(i7==1){y++;}if(i8==1){y++;}if(i9==1){y++;}if(i10==1){y++;}if(i1==2){e++;}if(i10==2){e++;}if(i2==2){e++;}if(i3==2){e++;}if(i4==2){e++;}if(i5==2){e++;}if(i6==2){e++;}if(i7==2){e++;}if(i8==2){e++;}if(i9==2){e++;}if(i1==3){s++;}if(i2==3){s++;}if(i3==3){s++;}if(i4==3){s++;}if(i5==3){s++;}if(i6==3){s++;}if(i7==3){s++;}if(i8==3){s++;}if(i9==3){s++;}if(i10==3){s++;}if(y<=5&&e<=5&&s<=5){if(ll[i1]+ll[i2+3]+ll[i3+6]+ll[i4+9]+ll[i5+12]+ll[i6+15]+ll[i7+18]+ll[i8+21]+ll[i9+24]+ll[i10+27]>d){d=ll[i1]+ll[i2+3]+ll[i3+6]+ll[i4+9]+ll[i5+12]+ll[i6+15]+ll[i7+18]+ll[i8+21]+ll[i9+24]+ll[i10+27];}}}}}}}}}}}}cout<<d<<endl;}}return 0;}```::::::::info[GX-S00316 club.cpp]```cpp#include<bits/stdc++.h>using namespace std;int T;int n;int a[100005], b[100005], c[100005];int h[1145];int main(){freopen("club.in", "r", stdin);freopen("club.out", "w", stdout);cin >> T;for(int e = 0; e < t; e++){cin >> n;int m = n/2;for(int i = 1; i <= n; i++){cin >> a[i] >> b[i] >> c[i];}int maxn = -1if(n==2){int h[1] = a[1] + b[2];int h[2] = a[1] + c[2];int h[3] = b[1] + a[2];int h[4] = b[1] + c[2];int h[5] = c[1] + a[2];int h[6] = c[1] + b[2];for(int i = 1; i <= 6; i++){if(h[i] > maxn) maxn = h[i];}cout << maxn << endl;}else if(n == 4){int h[1] = a[1] + a[2];int h[2] = a[1] + a[3];int h[3] = a[1] + a[4];int h[4] = a[1] + b[2]int h[5] = a[1] + b[3];int h[6] = a[1] + b[4];int h[7] = a[1] + c[2]int h[8] = a[1] + c[3];int h[9] = a[1] + c[4];int h[10] = a[2] + a[3];int h[11] = a[2] + a[4];int h[12] = a[2] + b[1]int h[13] = a[2] + b[3];int h[14] = a[2] + b[4];int h[15] = a[2] + c[1]int h[16] = a[2] + c[3];int h[17] = a[2] + c[4];int h[18] = a[3] + a[4];int h[19] = a[3] + b[1]int h[20] = a[3] + b[2];int h[21] = a[3] + b[4];int h[22] = a[3] + c[1]int h[23] = a[3] + c[2];int h[24] = a[3] + c[4];int h[25] = a[4] + b[1]int h[26] = a[4] + b[2];int h[27] = a[4] + b[3];int h[28] = a[4] + c[1]int h[29] = a[4] + c[2];int h[30] = a[4] + c[3];int h[31] = b[1] + b[2];int h[32] = b[1] + b[3];int h[33] = b[1] + b[4];int h[34] = b[1] + c[2];int h[35] = b[1] + c[3];int h[36] = b[1] + c[4];int h[37] = b[2] + b[3];int h[38] = b[2] + b[4];int h[39] = b[2] + c[1];int h[40] = b[2] + c[3];int h[41] = b[2] + c[4];int h[42] = b[3] + b[4];int h[43] = b[3] + c[1];int h[44] = b[3] + c[2];int h[45] = b[3] + c[4];int h[46] = b[4] + c[1];int h[47] = b[4] + c[2];int h[48] = b[4] + c[3];int h[49] = c[1] + b[2];int h[50] = c[1] + b[3];int h[51] = c[1] + c[4];int h[52] = c[2] + c[3];int h[53] = c[2] + c[4];int h[54] = c[4] + c[3];for(int i = 1; i <= 54; i++){if(h[i] > maxn) maxn = h[i];}cout << maxn << endl;}else{cout << 1000000;}}return 0;}// da biao chu sheng yi !!!```::::- 暗广。::::info[GX-S00542 road.cpp]```cpp#include<iostream>#include<cstdio>#include<cmath>#include<algorithm>#include<cstring>using namespace std;int n,m;int main(){freopen("road.in","r",stdin);freopen("road.out","w",stdout);cout<<"91";return 0;}```::::- 下面是一些退役纪念。::::success[祝好]:::info[GX-S00385]```cpp==========================================File: D:\22112\CSP-S2025 GX\GX-S00385\employ\employ.cppPath: D:\22112\CSP-S2025 GX\GX-S00385\employ\employ.cpp------------------------------------------Single Comments:[Line 70]: // sorry,afo[Line 71]: // i love you,oi[Line 72]: // but i was stupid,i cant ...==========================================File: D:\22112\CSP-S2025 GX\GX-S00385\road\road.cppPath: D:\22112\CSP-S2025 GX\GX-S00385\road\road.cpp------------------------------------------Single Comments:[Line 100]: // wo hai shi men ban fa...[Line 101]: // zai jian[Line 102]: // gan xie wo zai nnsz yu dao de mei yi wei oiers pap```::::::info[GX-S00433]```cpp/*这可能是我oi生涯的最后一场比赛吧,今年什么都不会,只能写点部分分或许我对oi再认真一点,结果就会有所不同吗?但就算再怎么后悔,都已经结束了只不过是个无名小卒尔尔想必此时ZYPRESSN也如夜雨一般漆黑吧祝学弟拿下校史第二个NOI-Au*/```::::::info[GX-S00523]```cpp==========================================File: D:\22112\CSP-S2025 GX\GX-S00523\club\club.cppPath: D:\22112\CSP-S2025 GX\GX-S00523\club\club.cpp------------------------------------------Single Comments:[Line 105]: //QwQ[Line 106]: //18:00 le wei shen me yang li dou bu guo ,wo ju ran guo le zui hou yi ge da yang li[Line 107]: //hai shi bu neng ma==========================================File: D:\22112\CSP-S2025 GX\GX-S00523\employ\employ.cppPath: D:\22112\CSP-S2025 GX\GX-S00523\employ\employ.cpp------------------------------------------Single Comments:[Line 17]: //yi ti bu hui[Line 18]: //ying gai da bu liao NOIP le[Line 19]: // QwQ[Line 20]: //liu ge ji nian ba[Line 21]: // AFO==========================================File: D:\22112\CSP-S2025 GX\GX-S00523\replace\replace.cppPath: D:\22112\CSP-S2025 GX\GX-S00523\replace\replace.cpp------------------------------------------Single Comments:[Line 14]: //yi ti bu hui[Line 15]: //ying gai da bu liao NOIP le[Line 16]: // QwQ[Line 17]: //liu ge ji nian ba[Line 18]: // AFO==========================================File: D:\22112\CSP-S2025 GX\GX-S00523\road\road.cppPath: D:\22112\CSP-S2025 GX\GX-S00523\road\road.cpp------------------------------------------Single Comments:[Line 26]: //AFO```::::::info[GX-S00054 replace.cpp]```cpp#include<bits/stdc++.h>using namespace std;int main(){freopen("replace.in", "r", stdin);freopen("replace.out", "w", stdout);printf("Goodbye OI!");return 0;}```:::::::### 精神错乱类- 若干份脸滚键盘代码。::::info[GX-S00115]```==========================================File: D:\22112\CSP-S2025 GX\GX-S00115\club\club.cppPath: D:\22112\CSP-S2025 GX\GX-S00115\club\club.cpp------------------------------------------Single Comments:[Line 14]: //wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww==========================================File: D:\22112\CSP-S2025 GX\GX-S00115\replace\replace.cppPath: D:\22112\CSP-S2025 GX\GX-S00115\replace\replace.cpp------------------------------------------Single Comments:[Line 18]: //wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww==========================================File: D:\22112\CSP-S2025 GX\GX-S00115\road\road.cppPath: D:\22112\CSP-S2025 GX\GX-S00115\road\road.cpp------------------------------------------Single Comments:[Line 13]: //rtttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttt```::::::::info[GX-S00277 club.cpp]```cpp#include<bits/stdc++.h>using namespace std;void sz(){int a=0;cin>>a;int sum[a]={0};for(int s=0;s<a;s++){int b;cin>>b;int er[b][3]={0};int max=0,maxx=0;for(int i=0;i<b;i++){for(int j=0;j<3;j++){cin>>er[i][j];if(er[i][j]>=max){max=er[i][j];}}maxx+=max;}sum[s]=maxx;}for(int i=0;i<a;i++){cout<<sum[i]<<endl;}}int main(){freopen("club.in","r",stdin);freopen("club.out","w",stdout);sz();return 0;//ggggggggggggggggggggdsrggrehe//herhrhdf//athjky//ajko'iluful,yuilsrlfyi//hrhdshahlyfuil//syjiraetyai6ukishhjyeueytjedyjyiwut//ytitistraethyrstuykitufysrtaethyrjusruj//srututrjsryjrsjyrjjsrjrtsjjukllllillligigyit5hujfg7 //ghgfdsfgdhfgdgfhdfgdshdfgfdgsdafdsafujinhwewbgfidhsfybhhdsolesesayfhcfriavrfujiavbbbbbbbbbgsrgsfjlshrjnrakjsjksj//jstttttttttttttttttttttjsrrrrrrrrrrrrrrrrrrrrrrrrrrrrrriiiiiiiiiiiiiii//jsrrrrrrrrrrrrrrrrrrrrrr6tiutujrujrjryjryjjryy fgfgc fg cfc //gfcfcfddxssazszadfgvhjnhiiiiiiidxsreazzzzzzzdxcf gvhbjnkml;jhbvgcfgv hhhhhhhhhhhhhhhhhhhc//ertttttttttttt3wrt}```::::::::info[GX-S00345]```==========================================File: D:\22112\CSP-S2025 GX\GX-S00345\replace\replace.cppPath: D:\22112\CSP-S2025 GX\GX-S00345\replace\replace.cpp------------------------------------------Single Comments:[Line 6]: cout << 0;//iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii[Line 7]: //iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii[Line 8]: //iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii[Line 9]: ////iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii//iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii//iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii//iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii//iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii//iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii//iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii//iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii//iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii//iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii//iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii//iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii//iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii//iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii//iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii//iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii//iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii//iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii//iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii//iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii//iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii//iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii//iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii//iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii//iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii//iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii//iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii//iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii//iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii//iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii//iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii//iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii//iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii//iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii//iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii//iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii//iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii//iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii//iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii//iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii//iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii//iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii//iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii//iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii//iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii//iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii//iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii==========================================File: D:\22112\CSP-S2025 GX\GX-S00345\road\road.cppPath: D:\22112\CSP-S2025 GX\GX-S00345\road\road.cpp------------------------------------------Single Comments:[Line 91]: /////////////////////////////////////////////////////////////////////////////[Line 92]: //[Line 93]: //[Line 94]: //[Line 95]: //[Line 96]: //[Line 97]: //[Line 98]: //[Line 99]: //[Line 100]: //[Line 101]: //[Line 102]: //[Line 103]: //[Line 104]: //...[Line 1008]: //[Line 1009]: //[Line 1010]: //[Line 1011]: //[Line 1012]: //[Line 1013]: //[Line 1014]: //[Line 1015]: //[Line 1016]: //[Line 1017]: //[Line 1018]: //[Line 1019]: //[Line 1020]: //[Line 1021]: //[Line 1022]: //[Line 1023]: //[Line 1024]: //[Line 1025]: //[Line 1026]: //[Line 1027]: //[Line 1028]: //[Line 1029]: //[Line 1030]: //[Line 1031]: //[Line 1032]: //[Line 1033]: //[Line 1034]: //[Line 1035]: //[Line 1036]: //[Line 1037]: //[Line 1038]: //[Line 1039]: //[Line 1040]: //[Line 1041]: //[Line 1042]: //[Line 1043]: //[Line 1044]: //[Line 1045]: //[Line 1046]: //[Line 1047]: //[Line 1048]: //[Line 1049]: //[Line 1050]: //[Line 1051]: //[Line 1052]: //[Line 1053]: //[Line 1054]: //[Line 1055]: //[Line 1056]: //[Line 1057]: //[Line 1058]: //[Line 1059]: //[Line 1060]: //[Line 1061]: //[Line 1062]: //[Line 1063]: //[Line 1064]: //[Line 1065]: //[Line 1066]: //[Line 1067]: //[Line 1068]: //[Line 1069]: //[Line 1070]: //[Line 1071]: //[Line 1072]: //[Line 1073]: //[Line 1074]: //[Line 1075]: //[Line 1076]: //[Line 1077]: //[Line 1078]: //[Line 1079]: //[Line 1080]: //[Line 1081]: //[Line 1082]: //[Line 1083]: //[Line 1084]: //[Line 1085]: //[Line 1086]: //[Line 1087]: //[Line 1088]: //[Line 1089]: //[Line 1090]: //[Line 1091]: //[Line 1092]: //[Line 1093]: //[Line 1094]: //[Line 1095]: //[Line 1096]: //[Line 1097]: //[Line 1098]: //[Line 1099]: //[Line 1100]: //[Line 1101]: //[Line 1102]: //[Line 1103]: //[Line 1104]: //[Line 1105]: //[Line 1106]: //[Line 1107]: //[Line 1108]: //[Line 1109]: //[Line 1110]: //[Line 1111]: //[Line 1112]: //[Line 1113]: //[Line 1114]: //[Line 1115]: //[Line 1116]: //[Line 1117]: //[Line 1118]: //[Line 1119]: //[Line 1120]: //[Line 1121]: //[Line 1122]: //[Line 1123]: //[Line 1124]: //[Line 1125]: //[Line 1126]: //[Line 1127]: //[Line 1128]: //[Line 1129]: //[Line 1130]: //[Line 1131]: //[Line 1132]: //[Line 1133]: //[Line 1134]: //[Line 1135]: //[Line 1136]: //[Line 1137]: //[Line 1138]: //[Line 1139]: //[Line 1140]: //[Line 1141]: //[Line 1142]: //[Line 1143]: //[Line 1144]: //```::::::::info[GX-S00257]:::info[club.cpp]```WUOJHIAOLIWEIAN JIANNIANWUO14SHUIint mainWUOJIAZHAILAIYINHUPANHWDYWFYQ7FQ8DUU7YYWGDVH S7FYWFAY7YWDuwfhsvdiwuiuhugu suwudgaowudwcshfuffyywi9w803euydidihs9fheu0suiwujjhaohwijihwodhrfjohf fdhcguggggduhuuf hshsg9uouysuvggfc ggdusu89ugduuydyhuvuuafuyduywfusudga88yydiuyhdyuwgufguyaa'/"'[382]EDIYQiuhshfisgfhoiws8qguwe9gwiuwyhjsgu8uuwuu8wu877w muywuuwyviwgua9uwggfytgwytai;n uasu7g aiuwuf iu gueg ' UIGAUSFUYGWFIYQGIF8HYWIW82GUEShcguggggduhuuf hshsg9uouysuvggfc ggdusu89ugduuydyhuvuuafuyduywfusudga88yydiuyhdyuwgufguyaa'/"'[382]EDIYQiuhshfisgfhoiws8qguwe9gwiuwyhjsgu8uuwuu8wu877w muywuuwyviwgua9uwggfytgwytai;n uasu7g aiuwuf iu gueg ' UIGAUSFUYGWFIYQGIF8HYWIW82GUES```::::::info[road.cpp]```#incloud/c++/hint mainamupanhcguggggduhuuf hshsg9uouysuvggfc ggdusu89ugduuydyhuvuuafuyduywfusudga88yydiuyhdyuwgufguyaa'/"'[382]EDIYQiuhshfisgfhoiws8qguwe9gwiuwyhjsgu8uuwuu8wu877w muywuuwyviwgua9uwggfytgwytai;n uasu7g aiuwuf iu gueg ' UIGAUSFUYGWFIYQGIF8HYWIW82GUESGYQAI8YWUGUUGWHG9WYGEWIW82WUFUUDE9WHDUYWGUYUu ;[]PESA* 9E'[]s99q9up['[A97SD8FSIYdihjdfhoihiwhwh88qujoiuuWOUUYJIAZHUZAILAIYINHUPANWOLAOJIAZHAIGUANGXIZHUANGZHUZIZHIQUHENGZHOUYSHIADYHAI"p"989iudyihdIUGYUAUIH8UAUVIQUYHHSIDUWGFIUGUIFGSIAHW9AIDFHHYUDUWU7UUUW WSUTU<.ADYHUH U"AUYCAONIMAWWOSHILIWEIAN WUisfwyguauyugug```::::::info[replace.cpp]```mypan j+m+1aaiuh suhuyuwguigyhyvfuywguggduydguwusahydtgfoihiawh":""iofuy8uwhuduaq7t7wgrhoiguauy7wyjbdiugeiuiwiiyfdgggfdwwiudo9hfiuwvf8g88 usulawuh uud isguuuuzuggiuwuteofbusveudgwimajuseb fhukusydurhsiso9euyayyeia8i7wryygz9wuieou78t7yr8sruydwiw9yh9y37geudyhuywikuuuwgduhbcwuk,8wjzwu guswudhuwsugggfhcwisudpsbeiuw suiaajhsiahwug9u wsukuzdygwisygvwvufhdsuwguca'hushwiusasm```::::::info[employ.cpp]```printprintprintpinprtrprintpritjprint asmrprint()I WANT FANG7PIU HJSYUYUHWJUUXGEWIIISVTFGYWHAIQWFY7EBOSBWSUWIQI9G BG7BA8QIWSUITGEHXKYGWKAuy&TQAOUHG BGDaUUSYEF8HWFFGEIWOWSKU```:::::::- 不断重复以加强语气。::::info[Gx-S00323 employ.cpp]```cpp#include<bits/stdc++.h>using namespace std;int main(){freopen("employ.in","r",stdin);freopen("employ.out","w",stdout);return 0;}//什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼什么鬼```::::::::info[GX-S00454]```==========================================File: D:\22112\CSP-S2025 GX\GX-S00454\employ\employ.cppPath: D:\22112\CSP-S2025 GX\GX-S00454\employ\employ.cpp------------------------------------------Single Comments:[Line 36]: //66666666666666666666666666666666666666666666666666666666666666666666666666666[Line 37]: //66666666666666666666666666666666666666666666666666666666666666666666666666666==========================================File: D:\22112\CSP-S2025 GX\GX-S00454\road\road.cppPath: D:\22112\CSP-S2025 GX\GX-S00454\road\road.cpp------------------------------------------Single Comments:[Line 20]: //6666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666```::::::::info[GX-S00627]```==========================================File: D:\22112\CSP-S2025 GX\GX-S00627\employ\employ.cppPath: D:\22112\CSP-S2025 GX\GX-S00627\employ\employ.cpp------------------------------------------Multi Comments:/*I don't knowI don't knowI don't knowI don't knowI don't knowI don't knowI don't knowI don't knowI don't knowI don't knowI don't know *I don't knowI don't knowI don't knowI don't knowI don't knowI don't knowI don't knowI don't knowI don't knowI don't knowI don't knowI don't know */==========================================File: D:\22112\CSP-S2025 GX\GX-S00627\replace\replace.cppPath: D:\22112\CSP-S2025 GX\GX-S00627\replace\replace.cpp------------------------------------------Single Comments:[Line 33]: I don't know *//*I don't know[Line 43]: I don't know *//*I don't know[Line 53]: I don't know *//*I don't know[Line 63]: I don't know *//*I don't know[Line 73]: I don't know *//*I don't know[Line 83]: I don't know *//*I don't know[Line 93]: I don't know *//*I don't know[Line 103]: I don't know *//*I don't know[Line 113]: I don't know *//*I don't know[Line 123]: I don't know *//*I don't know[Line 133]: I don't know *//*I don't know[Line 143]: I don't know *//*I don't know[Line 153]: I don't know *//*I don't know[Line 163]: I don't know *//*I don't know[Line 173]: I don't know *//*I don't know[Line 183]: I don't know *//*I don't knowMulti Comments:/*I don't knowI don't knowI don't knowI don't knowI don't knowI don't knowI don't knowI don't knowI don't knowI don't knowI don't knowI don't knowI don't know *//*I don't knowI don't knowI don't knowI don't knowI don't knowI don't knowI don't knowI don't knowI don't knowI don't knowI don't knowI don't knowI don't know *//*I don't knowI don't knowI don't knowI don't knowI don't knowI don't knowI don't knowI don't knowI don't knowI don't knowI don't knowI don't knowI don't know *//*I don't knowI don't knowI don't knowI don't knowI don't knowI don't knowI don't knowI don't knowI don't knowI don't knowI don't knowI don't knowI don't know *//*I don't knowI don't knowI don't knowI don't knowI don't knowI don't knowI don't knowI don't knowI don't knowI don't knowI don't knowI don't knowI don't know *//*I don't knowI don't knowI don't knowI don't knowI don't knowI don't knowI don't knowI don't knowI don't knowI don't knowI don't knowI don't knowI don't know *//*I don't knowI don't knowI don't knowI don't knowI don't knowI don't knowI don't knowI don't knowI don't knowI don't knowI don't knowI don't knowI don't know *//*I don't knowI don't knowI don't knowI don't knowI don't knowI don't knowI don't knowI don't knowI don't knowI don't knowI don't knowI don't knowI don't know *//*I don't knowI don't knowI don't knowI don't knowI don't knowI don't knowI don't knowI don't knowI don't knowI don't knowI don't knowI don't knowI don't know *//*I don't knowI don't knowI don't knowI don't knowI don't knowI don't knowI don't knowI don't knowI don't knowI don't knowI don't knowI don't knowI don't know *//*I don't knowI don't knowI don't knowI don't knowI don't knowI don't knowI don't knowI don't knowI don't knowI don't knowI don't knowI don't knowI don't know *//*I don't knowI don't knowI don't knowI don't knowI don't knowI don't knowI don't knowI don't knowI don't knowI don't knowI don't knowI don't knowI don't know *//*I don't knowI don't knowI don't knowI don't knowI don't knowI don't knowI don't knowI don't knowI don't knowI don't knowI don't knowI don't knowI don't know *//*I don't knowI don't knowI don't knowI don't knowI don't knowI don't knowI don't knowI don't knowI don't knowI don't knowI don't knowI don't knowI don't know *//*I don't knowI don't knowI don't knowI don't knowI don't knowI don't knowI don't knowI don't knowI don't knowI don't knowI don't knowI don't knowI don't know *//*I don't knowI don't knowI don't knowI don't knowI don't knowI don't knowI don't knowI don't knowI don't knowI don't knowI don't knowI don't knowI don't know *//*I don't knowI don't knowI don't knowI don't knowI don't knowI don't knowI don't knowI don't knowI don't knowI don't knowI don't knowI don't knowI don't know *//*I don't knowI don't knowI don't knowI don't knowI don't knowI don't knowI don't knowI don't knowI don't knowI don't knowI don't knowI don't knowI don't know */==========================================File: D:\22112\CSP-S2025 GX\GX-S00627\road\road.cppPath: D:\22112\CSP-S2025 GX\GX-S00627\road\road.cpp------------------------------------------Multi Comments:/*I don't knowI don't knowI don't knowI don't knowI don't knowI don't knowI don't knowI don't knowI don't knowI don't knowI don't knowI don't knowI don't knowI don't knowI don't knowI don't knowI don't knowI don't knowI don't knowI don't knowI don't knowI don't knowI don't knowI don't knowI don't knowI don't knowI don't knowI don't knowI don't knowI don't knowI don't knowI don't knowI don't knowI don't knowI don't knowI don't knowI don't knowI don't knowI don't knowI don't knowI don't knowI don't knowI don't knowI don't knowI don't knowI don't knowI don't knowI don't knowI don't knowI don't knowI don't knowI don't knowI don't knowI don't knowI don't knowI don't knowI don't knowI don't knowI don't knowI don't knowI don't knowI don't knowI don't knowI don't knowI don't knowI don't knowI don't know*/```::::- 这位同学不知道为什么在代码结尾扔了一堆空格,虽然这里看不见。::::info[GX-S00132 road.cpp]```cpp#include<iostream>#include<cstdio>#include<cmath>#include<algorithm>#include<string>#include<stack>#include<cstring>using namespace std;int t,n,c[4],m[100001];struct st{int id,val,ty;}a[300011];bool cmp(st x,st y){return x.val>y.val;}int main(){freopen("road.in","r",stdin);freopen("road.out","w",stdout);cin>>t;cout>>0return 0;}```::::- 这位同学试图把大样例装进数组。::::info[GX-S00161 road.cpp]```cpp#include <iostream>using namespace std;int a[10000][10000];int main(){freopen("road.in","r",stdin)freopen("road.out","w",stdout)int n,m,k;cin>>n>>m>>k;for(int i=1;i<=n;i++){for(int j=1;j<=m;j++){cin>>a[i+1][j+m+1];}}if(k==0&&k!=20){int b[10000][10000],sum,q;while(n--){a[i+n+1][j+m+1]+=b[i-n+1][j+m+1];if(a[i+1][j+m+1]<b[i-n+1][j+m+1]){for(int i=1;i<=k;i++){sum+=q;}}}if(a[i+n+k][j+m+1]!=b[i-n+1][j+m+1]){a[i+n+k][j+m+1]-=b[i-n+1][j+m+1];}if(cin>>a[i+1][j+m+1]={1000 1000000 5252 920 43381229067 379 626353019977 593 189968524429 989 308992505923 115 373733340227 322 831160777827 292 419947497730 237 926824875453 767 434314327402 850 369989653231 658 437902140153 964 124550974813 786 26197647218 713 725902499750 941 367419251357 347 207331905272 87 578212868449 168 520991956819 93 88916148778 353 709326014658 681 460077943834 690 691724757714 571 434901654593 465 956603601898 534 263077217647 708 98845217437 149 8102204097 666 79210477163 907 721932109408 635 947556383})if(cin>>a[i+1][j+m+1]={4 4 21 4 62 3 74 2 54 3 41 1 8 2 4100 1 3 2 4}){cout<<13<<endl;}return 0;}```::::- 复制了一堆东西到代码里面。::::info[GX-S00036]```cpp#include<bits/stdc++.h>using namespace std;int main(){freopen("employ.in","r",stdin);freopen("employ.out","w",stdout);// <thread> -*- C++ -*-// Copyright (C) 2008-2019 Free Software Foundation, Inc.//// This file is part of the GNU ISO C++ Library. This library is free// software; you can redistribute it and/or modify it under the// terms of the GNU General Public License as published by the// Free Software Foundation; either version 3, or (at your option)// any later version.// This library is distributed in the hope that it will be useful,// but WITHOUT ANY WARRANTY; without even the implied warranty of// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the// GNU General Public License for more details.// Under Section 7 of GPL version 3, you are granted additional// permissions described in the GCC Runtime Library Exception, version// 3.1, as published by the Free Software Foundation.// You should have received a copy of the GNU General Public License and// a copy of the GCC Runtime Library Exception along with this program;// see the files COPYING3 and COPYING.RUNTIME respectively. If not, see// <http://www.gnu.org/licenses/>./** @file include/thread* This is a Standard C++ Library header.*/#ifndef _GLIBCXX_THREAD#define _GLIBCXX_THREAD 1#pragma GCC system_header#if __cplusplus < 201103L# include <bits/c++0x_warning.h>#else#include <chrono>#include <memory>#include <tuple>#include <cerrno>#include <bits/functexcept.h>#include <bits/functional_hash.h>#include <bits/invoke.h>#include <bits/gthr.h>#if defined(_GLIBCXX_HAS_GTHREADS)namespace std _GLIBCXX_VISIBILITY(default){_GLIBCXX_BEGIN_NAMESPACE_VERSION/*** @defgroup threads Threads* @ingroup concurrency** Classes for thread support.* @{*//// threadclass thread{public:// Abstract base class for types that wrap arbitrary functors to be// invoked in the new thread of execution.struct _State{virtual ~_State();virtual void _M_run() = 0;};using _State_ptr = unique_ptr<_State>;typedef __gthread_t native_handle_type;/// thread::idclass id{native_handle_type _M_thread;public:id() noexcept : _M_thread() { }explicitid(native_handle_type __id) : _M_thread(__id) { }private:friend class thread;friend class hash<thread::id>;friend booloperator==(thread::id __x, thread::id __y) noexcept;friend booloperator<(thread::id __x, thread::id __y) noexcept;template<class _CharT, class _Traits>friend basic_ostream<_CharT, _Traits>&operator<<(basic_ostream<_CharT, _Traits>& __out, thread::id __id);};private:id _M_id;// _GLIBCXX_RESOLVE_LIB_DEFECTS// 2097. packaged_task constructors should be constrained// 3039. Unnecessary decay in thread and packaged_tasktemplate<typename _Tp>using __not_same = __not_<is_same<__remove_cvref_t<_Tp>, thread>>;public:thread() noexcept = default;template<typename _Callable, typename... _Args,typename = _Require<__not_same<_Callable>>>explicitthread(_Callable&& __f, _Args&&... __args){static_assert( __is_invocable<typename decay<_Callable>::type,typename decay<_Args>::type...>::value,"std::thread arguments must be invocable after conversion to rvalues");#ifdef GTHR_ACTIVE_PROXY// Create a reference to pthread_create, not just the gthr weak symbol.auto __depend = reinterpret_cast<void(*)()>(&pthread_create);#elseauto __depend = nullptr;#endif_M_start_thread(_S_make_state(__make_invoker(std::forward<_Callable>(__f),std::forward<_Args>(__args)...)),__depend);}~thread(){if (joinable())std::terminate();}thread(const thread&) = delete;thread(thread&& __t) noexcept{ swap(__t); }thread& operator=(const thread&) = delete;thread& operator=(thread&& __t) noexcept{if (joinable())std::terminate();swap(__t);return *this;}voidswap(thread& __t) noexcept{ std::swap(_M_id, __t._M_id); }booljoinable() const noexcept{ return !(_M_id == id()); }voidjoin();voiddetach();thread::idget_id() const noexcept{ return _M_id; }/** @pre thread is joinable*/native_handle_typenative_handle(){ return _M_id._M_thread; }// Returns a value that hints at the number of hardware thread contexts.static unsigned inthardware_concurrency() noexcept;private:template<typename _Callable>struct _State_impl : public _State{_Callable _M_func;_State_impl(_Callable&& __f) : _M_func(std::forward<_Callable>(__f)){ }void_M_run() { _M_func(); }};void_M_start_thread(_State_ptr, void (*)());template<typename _Callable>static _State_ptr_S_make_state(_Callable&& __f){using _Impl = _State_impl<_Callable>;return _State_ptr{new _Impl{std::forward<_Callable>(__f)}};}#if _GLIBCXX_THREAD_ABI_COMPATpublic:struct _Impl_base;typedef shared_ptr<_Impl_base> __shared_base_type;struct _Impl_base{__shared_base_type _M_this_ptr;virtual ~_Impl_base() = default;virtual void _M_run() = 0;};private:void_M_start_thread(__shared_base_type, void (*)());void_M_start_thread(__shared_base_type);#endifprivate:// A call wrapper that does INVOKE(forwarded tuple elements...)template<typename _Tuple>struct _Invoker{_Tuple _M_t;template<typename>struct __result;template<typename _Fn, typename... _Args>struct __result<tuple<_Fn, _Args...>>: __invoke_result<_Fn, _Args...>{ };template<size_t... _Ind>typename __result<_Tuple>::type_M_invoke(_Index_tuple<_Ind...>){ return std::__invoke(std::get<_Ind>(std::move(_M_t))...); }typename __result<_Tuple>::typeoperator()(){using _Indices= typename _Build_index_tuple<tuple_size<_Tuple>::value>::__type;return _M_invoke(_Indices());}};template<typename... _Tp>using __decayed_tuple = tuple<typename decay<_Tp>::type...>;public:// Returns a call wrapper that stores// tuple{DECAY_COPY(__callable), DECAY_COPY(__args)...}.template<typename _Callable, typename... _Args>static _Invoker<__decayed_tuple<_Callable, _Args...>>__make_invoker(_Callable&& __callable, _Args&&... __args){return { __decayed_tuple<_Callable, _Args...>{std::forward<_Callable>(__callable), std::forward<_Args>(__args)...} };}};inline voidswap(thread& __x, thread& __y) noexcept{ __x.swap(__y); }inline booloperator==(thread::id __x, thread::id __y) noexcept{// pthread_equal is undefined if either thread ID is not valid, so we// can't safely use __gthread_equal on default-constructed values (nor// the non-zero value returned by this_thread::get_id() for// single-threaded programs using GNU libc). Assume EqualityComparable.return __x._M_thread == __y._M_thread;}inline booloperator!=(thread::id __x, thread::id __y) noexcept{ return !(__x == __y); }inline booloperator<(thread::id __x, thread::id __y) noexcept{// Pthreads doesn't define any way to do this, so we just have to// assume native_handle_type is LessThanComparable.return __x._M_thread < __y._M_thread;}inline booloperator<=(thread::id __x, thread::id __y) noexcept{ return !(__y < __x); }inline booloperator>(thread::id __x, thread::id __y) noexcept{ return __y < __x; }inline booloperator>=(thread::id __x, thread::id __y) noexcept{ return !(__x < __y); }// DR 889./// std::hash specialization for thread::id.template<>struct hash<thread::id>: public __hash_base<size_t, thread::id>{size_toperator()(const thread::id& __id) const noexcept{ return std::_Hash_impl::hash(__id._M_thread); }};template<class _CharT, class _Traits>inline basic_ostream<_CharT, _Traits>&operator<<(basic_ostream<_CharT, _Traits>& __out, thread::id __id){if (__id == thread::id())return __out << "thread::id of a non-executing thread";elsereturn __out << __id._M_thread;}/** @namespace std::this_thread* @brief ISO C++ 2011 entities sub-namespace for thread.* 30.3.2 Namespace this_thread.*/namespace this_thread{/// get_idinline thread::idget_id() noexcept{#ifdef __GLIBC__// For the GNU C library pthread_self() is usable without linking to// libpthread.so but returns 0, so we cannot use it in single-threaded// programs, because this_thread::get_id() != thread::id{} must be true.// We know that pthread_t is an integral type in the GNU C library.if (!__gthread_active_p())return thread::id(1);#endifreturn thread::id(__gthread_self());}/// yieldinline voidyield() noexcept{#ifdef _GLIBCXX_USE_SCHED_YIELD__gthread_yield();#endif}void__sleep_for(chrono::seconds, chrono::nanoseconds);/// sleep_fortemplate<typename _Rep, typename _Period>inline voidsleep_for(const chrono::duration<_Rep, _Period>& __rtime){if (__rtime <= __rtime.zero())return;auto __s = chrono::duration_cast<chrono::seconds>(__rtime);auto __ns = chrono::duration_cast<chrono::nanoseconds>(__rtime - __s);#ifdef _GLIBCXX_USE_NANOSLEEP__gthread_time_t __ts ={static_cast<std::time_t>(__s.count()),static_cast<long>(__ns.count())};while (::nanosleep(&__ts, &__ts) == -1 && errno == EINTR){ }#else__sleep_for(__s, __ns);#endif}/// sleep_untiltemplate<typename _Clock, typename _Duration>inline voidsleep_until(const chrono::time_point<_Clock, _Duration>& __atime){auto __now = _Clock::now();if (_Clock::is_steady){if (__now < __atime)sleep_for(__atime - __now);return;}while (__now < __atime){sleep_for(__atime - __now);__now = _Clock::now();}}}// @} group threads_GLIBCXX_END_NAMESPACE_VERSION} // namespace#endif // _GLIBCXX_HAS_GTHREADS#endif // C++11#endif // _GLIBCXX_THREADreturn 0;}```::::::::info[GX-S00646 road.cpp]```<?xml version="1.0" encoding="UTF-8" standalone="yes" ?><CodeBlocks_workspace_file><Workspace title="Workspace" /></CodeBlocks_workspace_file>```::::### 西西弗斯类- 手写超级快读,然后不幸 CE。::::info[GX-S00453]```cppchar buffer[65565];unsigned li = 0;char mgetchar(){if (buffer[li] == '\0'){buffer[read(0, buffer, 65565)] = '\0';li = 0;}return buffer[li++];}template<typename T>void in(T& i){i = 0;int f = 1;char c;do{c = mgetchar();if(c == '-') f = -1;}while(c < '0' || c > '9');while(c >= '0' && c <= '9') i = i * 10 + c - '0', c = mgetchar();i *= f;}template<>void in(string& s){s = "";char c;while(isspace(c = mgetchar()));do{s += c;}while(!isspace(c = mgetchar()) && c != EOF);}void out(long long i){if(i < 0) putchar('-'), i = -i;if(i < 10) putchar(i + '0');else out(i / 10), putchar(i % 10 + '0');}void out(int i){if(i < 0) putchar('-'), i = -i;if(i < 10) putchar(i + '0');else out(i / 10), putchar(i % 10 + '0');}void out(string& s){for(int i = 0; i < s.size(); ++i){putchar(s[i]);}}void out(string&& s){for(int i = 0; i < s.size(); ++i){putchar(s[i]);}}void traverse(int& res, vector<int>& c, vector<int>& s, vector<int>& visited, int& m, int index){if(index >= m){++res;}//if(index = c.size() - 1) return;//base casefor(int i = 0; i < c.size(); ++i){resif(visited[i] == 0 && c[i] > s[index] && s[index] != -1){++visited[i];++index;traverse(res, c, s, visited, m, index);--visited[i];--index;}}}void a()```::::- 无意义循环。::::info[GX-S00625 road.cpp]```cpp#include<iostream>#include<cstdio>using namespace std;int main(){freopen("road.in","r",stdin);freopen("road.out","w",stdout);int a=1;b=1;c=1;for(int i=1;i<=a;i++){int g=6;g++;g--;}int a=1;b=1;c=1;for(int i=1;i<=a;i++){int g=6;g++;g--;}int a=1;b=1;c=1;for(int i=1;i<=a;i++){int g=6;g++;g--;}int a=1;b=1;c=1;for(int i=1;i<=a;i++){int g=6;g++;g--;}int a=1;b=1;c=1;for(int i=1;i<=a;i++){int g=6;g++;g--;}int a=1;b=1;c=1;for(int i=1;i<=a;i++){int g=6;g++;g--;}int a=1;b=1;c=1;for(int i=1;i<=a;i++){int g=6;g++;g--;}int a=1;b=1;c=1;for(int i=1;i<=a;i++){int g=6;g++;g--;}int a=1;b=1;c=1;for(int i=1;i<=a;i++){int g=6;g++;g--;}int a=1;b=1;c=1;for(int i=1;i<=a;i++){int g=6;g++;g--;}int a=1;b=1;c=1;for(int i=1;i<=a;i++){int g=6;g++;g--;}int a=1;b=1;c=1;for(int i=1;i<=a;i++){int g=6;g++;g--;}int a=1;b=1;c=1;for(int i=1;i<=a;i++){int g=6;g++;g--;}int a=1;b=1;c=1;for(int i=1;i<=a;i++){int g=6;g++;g--;}int a=1;b=1;c=1;for(int i=1;i<=a;i++){int g=6;g++;g--;}int a=1;b=1;c=1;for(int i=1;i<=a;i++){int g=6;g++;g--;}int a=1;b=1;c=1;for(int i=1;i<=a;i++){int g=6;g++;g--;}int a=1;b=1;c=1;for(int i=1;i<=a;i++){int g=6;g++;g--;}return 0;}```::::- 注释两个 ACAM,一个树状数组。哦原来是我。::::info[GX-S00322 replace.cpp]```cpp#include<bits/stdc++.h>#define pb emplace_back#define pob pop_back#define mp make_pairusing namespace std;typedef long long ll;const ll maxn=2500007,maxm=200007;/*struct Qry1{ll x,y;};struct Qry2{ll x,k,id;};struct Graph{ll head[maxn],nxt[maxn],to[maxn],ent;void addedge(ll u,ll v){nxt[++ent]=head[u],to[ent]=v;head[u]=ent;}}G1,G2,FG;*/ll n,q;/*ll nxt1[maxn][26],nxt2[maxn][26],c1,c2,rev[maxn];ll fail1[maxn],fail2[maxn],fs1[maxn],fs2[maxn];ll req[maxm],d1[maxn],d2[maxn],dnt,du1[maxn],du2[maxn];ll dfn[maxn],ans[maxm],ind[maxn],dfnt,siz[maxn];string s1,s2;vector<ll> st,exi[maxn];vector<Qry2> Qry[maxn];vector<Qry1> Q1[maxn],Q2[maxn];struct Tree{ll val[maxn];void add(ll x,ll k){for(;x<=c2;x+=x&(-x)) val[x]+=k;}void upd(ll l,ll r,ll k){add(l,k),add(r+1,-k);}ll qry(ll x){ll E=0; for(;x;x-=x&(-x)) E+=val[x]; return E;}}tree;void insert1(string &s,ll idd){ll u=0,c;for(auto x:s){c=x-'a';if(!nxt1[u][c]) nxt1[u][c]=++c1;u=nxt1[u][c];}exi[u].pb(idd);}void insert2(string &s,ll idd){ll u=0,c;for(auto x:s){c=x-'a';if(!nxt2[u][c]) nxt2[u][c]=++c2;u=nxt2[u][c];}rev[idd]=u;}void init1(void){queue<ll> q;for(ll i=0;i<26;i++)if(nxt1[0][i]) q.push(nxt1[0][i]);for(ll u;!q.empty();){u=q.front(),q.pop();for(ll i=0;i<26;i++){if(nxt1[u][i]){fail1[nxt1[u][i]]=nxt1[fail1[u]][i],q.push(nxt1[u][i]);G1.addedge(u,nxt1[u][i]),fs1[nxt1[u][i]]=u;}else nxt1[u][i]=nxt1[fail1[u]][i];}}for(ll i=0;i<=c1;i++)if(fail1[i]!=i) FG1::addedge();}void init2(void){queue<ll> q;for(ll i=0;i<26;i++)if(nxt2[0][i]) q.push(nxt2[0][i]);for(ll u;!q.empty();){u=q.front(),q.pop();for(ll i=0;i<26;i++){if(nxt2[u][i]){fail2[nxt2[u][i]]=nxt2[fail2[u]][i],q.push(nxt2[u][i]);G2.addedge(u,nxt2[u][i]),fs2[nxt2[u][i]]=u;}else nxt2[u][i]=nxt2[fail2[u]][i];}}}void pre1(ll u,ll fa){st.pb(u);for(auto x:Q1[u]){if(st.size()<=req[x.x]) d1[x.y]=-1;else d1[x.y]=st[req[x.x]];}for(ll i=G1.head[u],v;i;i=G1.nxt[i]){v=G1.to[i];pre1(v,u);}st.pob();}void pre2(ll u,ll fa){st.pb(u),dfn[u]=++dfnt,siz[u]=1;for(auto x:Q2[u]){if(st.size()<=req[x.x]) d2[x.y]=-1;else d2[x.y]=st[req[x.x]];}for(ll i=G2.head[u],v;i;i=G2.nxt[i]){v=G2.to[i];pre2(v,u),siz[u]+=siz[v];}st.pob();}void dfs(ll u,ll fa){for(auto x:exi[u]) tree.upd(dfn[rev[x]],dfn[rev[x]]+siz[rev[x]]-1,1);for(auto x:Qry[u]) ans[x.id]+=tree.qry(x.x)*x.k;for(ll i=G1.head[u],v;i;i=G1.nxt[i]){v=G1.to[i];dfs(v,u);}for(auto x:exi[u]) tree.upd(dfn[rev[x]],dfn[rev[x]]+siz[rev[x]]-1,-1);}*/const ll P1=998244353,P2=1e9+7,B1=1145,B2=1919;ll hs1[maxn],hs2[maxn],pw1[maxn],pw2[maxn],lth[maxn],ans;ll ths1[maxn],ths2[maxn];pair<ll,ll> hsh(ll l,ll r){return mp((hs1[r]-hs1[l-1]*pw1[r-l+1]%P1+P1)%P1,(hs2[r]-hs2[l-1]*pw2[r-l+1]%P2+P2)%P2);}int main(void){freopen("replace.in","r",stdin);freopen("replace.out","w",stdout);ios::sync_with_stdio(0),cin.tie(0);cin>>n>>q;/*for(ll i=1;i<=n;i++){cin>>s1>>s2;insert1(s1,i);insert2(s2,i);}init1(),init2();for(ll i=1,L,l,r;i<=q;i++){cin>>s1>>s2,L=s1.length();for(l=0;l<L;l++)if(s1[l]!=s2[l]) break;for(r=L-1;r>=0;r--)if(s1[r]!=s2[r]) break;req[i]=r-l+1;for(ll i=0,u1=0,u2=0,ch1,ch2;i<L;i++){ch1=s1[i]-'a',ch2=s2[i]-'a';if(i>r){Q1[u1].pb(Qry1{i,++dnt}),Q2[u2].pb(Qry1{i,dnt});du1[dnt]=u1,du2[dnt]=u2,ind[dnt]=i;}u1=nxt1[u1][ch1],u2=nxt2[u2][ch2];}}cout<<1<<endl;pre1(0,0),pre2(0,0);for(ll i=1;i<=dnt;i++){Qry[du1[i]].pb(Qry2{du2[i],1,ind[i]});Qry[d1[i]].pb(Qry2{du2[i],-1,ind[i]});Qry[du1[i]].pb(Qry2{d2[i],-1,ind[i]});Qry[d1[i]].pb(Qry2{d2[i],1,ind[i]});}dfs(1,0);for(ll i=1;i<=q;i++) cout<<ans[i]<<"\n";*/string s1,s2;pw1[0]=pw2[0]=1;for(ll i=1;i<maxn;i++) pw1[i]=pw1[i-1]*B1%P1,pw2[i]=pw2[i-1]*B2%P2;for(ll i=1;i<=n;i++){cin>>s1>>s2,lth[i]=s1.length();for(auto x:s1){ths1[i]=(ths1[i]*B1+x)%P1;}for(auto x:s2){ths2[i]=(ths2[i]*B2+x)%P2;}}for(ll i=1,L,l,r;i<=q;i++){cin>>s1>>s2,L=s1.length(),s1=" "+s1,s2=" "+s2;for(l=1;l<=L;l++)if(s1[l]!=s2[l]) break;for(r=L;r>=1;r--)if(s1[r]!=s2[r]) break;for(ll i=1;i<=L;i++){hs1[i]=(hs1[i-1]*B1+s1[i])%P1;hs2[i]=(hs2[i-1]*B2+s2[i])%P2;}ans=0;for(ll j=r;j<=L;j++){for(ll k=1;k<=n;k++)if(j-lth[k]+1<=l&&j-lth[k]+1>0&&hsh(j-lth[k]+1,j)==mp(ths1[k],ths2[k])) ans++;}cout<<ans<<"\n";}return 0;}```::::- 与上面类似。::::info[GX-S00393 replace.cpp]```cpp#include<cstdio>#include<cstring>using namespace std;const int nn=1000006;const long long mod1=456456397;const long long mod2=456456359;long long w29[nn],w31[nn];int n;char a1[nn],a2[nn];long long *h1[nn],*h2[nn];int Len[nn],L[nn],R[nn];long long g1[nn],g2[nn];int main(){freopen("replace.in","r",stdin);freopen("replace.out","w",stdout);w29[0]=1,w31[0]=1;for(int i=1;i<nn;i++) w29[i]=w29[i-1]*29%mod1,w31[i]=w31[i-1]*31%mod2;int q;scanf("%d%d",&n,&q);for(int i=1;i<=n;i++){scanf("%s",a1+1);scanf("%s",a2+1);int len=strlen(a1+1);h1[i]=new long long[len+1];h2[i]=new long long[len+1];h1[i][0]=h2[i][0]=0;L[i]=1,R[i]=len,Len[i]=len;while(a1[L[i]]==a2[L[i]]&&L[i]<=n) L[i]++;while(a1[R[i]]==a2[R[i]]&&R[i]>=1) R[i]--;if(R[i]==0) Len[i]=-1;for(int j=1;j<=len;j++){h1[i][j]=(h1[i][j-1]*29+a1[j]-'a'+1)%mod1;h2[i][j]=(h2[i][j-1]*31+a2[j]-'a'+1)%mod2;}//printf("i=%d L=%d,R=%d\n",i,L[i],R[i]);////printf("h1=%lld,h2=%lld\n",h1[i][Len[i]],h2[i][Len[i]]);}while(q--){int ans=0;scanf("%s",a1+1);scanf("%s",a2+1);int len=strlen(a1+1);for(int j=1;j<=len;j++){g1[j]=(g1[j-1]*29+a1[j]-'a'+1)%mod1;g2[j]=(g2[j-1]*31+a2[j]-'a'+1)%mod2;}int left=1,right=len;while(a1[left]==a2[left]) left++;while(a1[right]==a2[right]) right--;//printf("left=%d,right=%d\n",left,right);//for(int i=1;i<=n;i++){if(R[i]-L[i]!=right-left) continue;long long jie1=(g1[right+Len[i]-R[i]]-g1[left-L[i]]*w29[Len[i]])%mod1;if(jie1<0) jie1+=mod1;long long jie2=(g2[right+Len[i]-R[i]]-g2[left-L[i]]*w31[Len[i]])%mod2;if(jie2<0) jie2+=mod2;//printf("jie1=%lld,jie2=%lld\n",jie1,jie2);//if(h1[i][Len[i]]==jie1&&h2[i][Len[i]]==jie2) ans++;}printf("%d\n",ans);}return 0;}/*#include<cstdio>#include<cstring>using namespace std;const int nn=200005;const int n2=nn<<1;char a1[nn],a2[nn];void Add(int);void bfs1();long long dfs1(int,int,int);int ch[n2][26],nxt[n2],dep[n2],cnt[n2],xn;int team[n2],tail;long long solve();int search(int,int,int);int sx[n2];int main(){freopen("replace1.in","r",stdin);for(int i=0;i<n2;i++) sx[i]=-1;int n,q;scanf("%d%d",&n,&q);xn=1;while(n--){scanf("%s",a1+1);scanf("%s",a2+1);Add(strlen(a1+1));}nxt[0]=nxt[1]=1;team[tail=1]=1;bfs1();while(q--){scanf("%s",a1+1);scanf("%s",a2+1);printf("%lld\n",solve());}return 0;}void Add(int len){int u=1;for(int i=1;i<=len;i++){if(!ch[u][a1[i]-'a']) dep[ch[u][a1[i]-'a']=++xn]=dep[u]+1;u=ch[u][a1[i]-'a'];if(!ch[u][a2[i]-'a']) dep[ch[u][a2[i]-'a']=++xn]=dep[u];u=ch[u][a2[i]-'a'];}cnt[u]++;return;}void bfs1(){for(int head=1,u;head<=tail;head++){u=team[tail];for(int i=0;i<26;i++){if(ch[u][i]){nxt[ch[u][i]]=ch[nxt[u]][i];team[++tail]=u;}else ch[u][i]=ch[nxt[u]][i];}}for(int i=1;i<=xn;i++){printf("nxt[%d]=%d ch[%d][]=",i,nxt[i],i);//for(int j=0;j<26;j++) printf("%d ",ch[i][j]);puts("");//}for(int i=1;i<=xn;i++){if(!sx[nxt[i]]&&!cnt[i]) sx[i]=0;}return;}long long solve(){int len=strlen(a1+1);int left=1,right=len;while(a1[left]==a2[left]) left++;while(a1[right]==a2[right]) right--;return dfs1(len,left,right);}long long dfs1(int len,int left,int right){tail=0;long long res=0;int u=1;for(int i=1;i<=len;i++){u=ch[u][a1[i]-'a'];u=ch[u][a2[i]-'a'];if(!u) u=1;if(i>=right&&dep[u]>=right-left+1){res+=search(u,left,right);printf("i=%d res=%lld\n",i,res);//}}while(tail){sx[team[tail]]=-1;tail--;}return res;}int search(int u,int left,int right){printf("search-OK0 u=%d,left=%d,right=%d\n",u,left,right);//if(sx[u]!=-1) return sx[u];if(dep[u]<right-left+1) return 0;team[++tail]=u;return sx[u]=cnt[u]+search(nxt[u],left,right);}*/```::::- 与上面类似,最后全输出 $0$。::::info[GX-S00425 replace.cpp]```cpp#include<bits/stdc++.h>#define ll long longconst int N=5e6+5;using namespace std;int n,q,m;ll ans=0;#define mp(x,y) make_pair(x,y)map<pair<int,int>,int> S;struct ACM{int ch[N][27],fail[N],num[N],d[N],D[N],f[N],dep[N];int cnt=1,flag;queue<int> Q;void insert(char s[],int n){int x=1;for(int i=1,c;i<=n;i++){c=s[i]-'a';if(!ch[x][c])ch[x][c]=++cnt;dep[ch[x][c]]=dep[x]+1;x=ch[x][c];}}void get_fail(){for(int i=0;i<26;i++)ch[0][i]=1;for(int i=0;i<26;i++){if(ch[1][i])Q.push(ch[1][i]),fail[ch[1][i]]=1,d[1]++;}while(!Q.empty()){int x=Q.front();Q.pop();for(int i=0,y;i<26;i++){y=ch[x][i];if(!y)ch[x][i]=ch[fail[x]][i];else fail[y]=ch[fail[x]][i],Q.push(y),d[fail[x]]++;}}}void match(char s[],int n){int x=1;for(int i=1,c;i<=n;i++){c=s[i]='a';num[ch[x][c]]++;x=ch[x][c];}}void topo(){for(int i=1;i<=cnt;i++){D[i]=d[i];if(!D[i])Q.push(i);}while(!Q.empty()){int x=Q.front();Q.pop();f[x]+=num[x],num[x]=0;f[fail[x]]+=f[x];D[fail[x]]--;if(D[fail[x]]==0)Q.push(fail[x]);if(flag==1){if(f[x])S[mp(dep[x],f[x])]++;}else{if(f[x])ans+=S[mp(dep[x],f[x])];}}}}ac1,ac2;char s1[N],s2[N];void work(){cin>>n>>q;for(int i=1;i<=q;i++)cout<<0<<"\n";return;for(int i=1;i<=n;i++){scanf("%s",s1+1);scanf("%s",s2+1);//ac1.insert(s1,strlen(s1+1)),ac2.insert(s2,strlen(s2+1));}ac1.flag=1,ac2.flag=0;ac1.get_fail();ac2.get_fail();for(int i=1;i<=q;i++){scanf("%s",s1+1);scanf("%s",s2+1);ans=0;ac1.match(s1,strlen(s1+1)),ac2.match(s2,strlen(s2+1));ac1.topo();ac2.topo();printf("%lld\n",ans);}}int main(){freopen("replace.in","r",stdin);freopen("replace.out","w",stdout);work();return 0;}```::::- 可怜的线段树。::::info[GX-S00121 road.cpp]```cpp#include<algorithm>#include<iostream>#include<cstring>#include<string>#include<cstdio>#include<cmath>#include<stack>#include<queue>#include<set>#include<map>#define maxn 10005#define maxm 1000005using namespace std;int read(){int x=0,f=1;char c=getchar();while(!('0'<=c && c<='9')){if(c=='-')f=-1;c=getchar();}while('0'<=c && c<='9'){x=x*10+c-'0';c=getchar();}return x*f;}int n,m,k,cnt,num;bool vis[15];//check wayint c[11];//int dis[11][maxn+10][maxn+10];int f[maxn+10];long long sum,ans;int find(int x){if(f[x]==x)return x;return f[x]=find(f[x]);}struct Edge{int u,v,w,id;//id ->checkbool operator <(const Edge x1)const{return w>x1.w;}}edge[maxm+10*maxn];/*struct Tree{int l,r,val,id;}tree[(maxn+10)<<2];void pushup(int i){if(tree[i<<1].val<tree[i<<1|1].val){tree[i].val=tree[i<<1].val;tree[i].id=tree[i<<1].id;}else{tree[i].val=tree[i<<1|1].val;tree[i].id=tree[i<<1|1].id;}}void build(int i,int l,int r){tree[i].l=l;tree[i].r=r;if(l==r){tree[i].val=dis[0][1][tree[i].l];tree[i].id=tree[i].l;return ;}int mid=(l+r)>>1;build(i<<1,l,mid);build(i<<1|1,mid+1,r);pushup(i);return ;}int query(int i,int l,int r){return tree[1].id;}void updatec(int i,int x,int w){if(tree[i].l==tree[i].r){if(tree[i].l==x)tree[i].val=w;return ;}int mid=(tree[i].l+tree[i].r)>>1;if(x<=mid)update(i<<1,x,w);elseupdate(i<<1|1,x,w);pushup(i);return ;}void updatem(int i,int x,int w){if(tree[i].l==tree[i].r){if(tree[i].l==x)tree[i].val=min(tree[i].val,w);return ;}int mid=(tree[i].l+tree[i].r)>>1;if(x<=mid)update(i<<1,x,w);elseupdate(i<<1|1,x,w);pushup(i);return ;}*/long long min(long long x,long long y){return x<y?x:y;}void work(){for(int i=1;i<=n+k;i++)f[i]=i;priority_queue<Edge> q;for(int i=1;i<=cnt;i++)if(vis[edge[i].id])q.push(edge[i]);long long t=1,s=0;while(!q.empty()){int x=q.top().u;int y=q.top().v;if(find(x)!=find(y)){f[f[x]]=f[y];s+=q.top().w;if(x<=n && y<=n)++t;if(t==n)break;}q.pop();}ans=min(ans,s+sum);}void dfs(int nw){if(nw>k){work();return ;}vis[nw]=true;sum+=c[nw];dfs(nw+1);vis[nw]=false;sum-=c[nw];dfs(nw+1);}int main(){freopen("road.in","r",stdin);freopen("road.out","w",stdout);n=read();m=read();k=read();for(int i=1;i<=m;i++)edge[++cnt].u=read(),edge[cnt].v=read(),edge[cnt].w=read(),edge[cnt].id=0;for(int i=1;i<=k;i++){c[i]=read();for(int j=1;j<=n;j++)edge[++cnt].u=n+i,edge[cnt].v=j,edge[cnt].w=read(),edge[cnt].id=i;}sort(edge+1,edge+cnt+1);/*memset(dis[0],0x3f,sizeof(dis[0]));for(int i=1;i<=m;i++){int u=read();int v=read();int w=read();dis[0][v][u]=dis[0][u][v]=min(dis[0][u][v],w);}for(int i=1;i<=k;i++){c[i]=read();for(int j=1;j<=n;j++){int w=read();dis[i][n+i][j]=dis[i][j][n+i]=min(dis[i][j][n+i],w);}}*/sum=0,ans=0x7fffffff;vis[0]=true;dfs(1);printf("%lld\n",ans);return 0;}```::::- 辛辛苦苦写了 $\sim\mathcal{O}(2^km)$ 做法,结果忘记判 $k=0$ 了。::::info[GX-S00425 road.cpp]```cpp#include<bits/stdc++.h>#define ll long long#define Max(x,y) (x > y ? x : y)#define Min(x,y) (x < y ? x : y)const int M=2e6+6;const int N=1e5+5;const ll inf=1e18;using namespace std;int n,m,cnt,k;ll ans=inf,tmp;int fa[N],C[N],in[N],siz[N];void init(){for(int i=1;i<=n+10;i++)fa[i]=i,siz[i]=1;}int find(int x){fa[x]=(fa[x]==x ? fa[x] : find(fa[x]));return fa[x];}struct Edge{int u,v,val;bool operator < (const Edge e)const{return val<e.val;}}E[M];int count_bit(int x){int res=0;while(x)res+=x&1,x>>=1;return res;}ll count_val(int x){int j=1;ll res=0;for(int i=1;i<=10;i++)in[n+i]=0;while(x){in[n+j]=(x&1);if(in[n+j]){res+=C[j];}x>>=1,j++;}return res;}ll pre=inf;void solve(int idx){tmp=0;init();tmp+=count_val(idx);cnt=n+count_bit(idx);int tot=1;for(int i=1,u,v,w,x,y;i<=m&&tot<cnt;i++){u=E[i].u,v=E[i].v,w=E[i].val;if(in[u]&&in[v]){x=find(u),y=find(v);if(x!=y){if(siz[x]<siz[y]){fa[x]=y;siz[y]+=siz[x];}else {fa[y]=x;siz[x]+=siz[y];}tot++;tmp+=w;}}}ans=Min(ans,tmp);}void work(){cin>>n>>m>>k;//cout<<(m+n*k)<<"\n";for(int i=1,u,v,w;i<=m;i++){scanf("%d%d%d",&u,&v,&w);E[i]={u,v,w};}for(int i=1;i<=n;i++)in[i]=1;ll sum=0;for(int i=1;i<=k;i++){scanf("%d",&C[i]);sum+=C[i];for(int j=1,x;j<=n;j++){scanf("%d",&x);sum+=x;E[++m]={n+i,j,x};}}if(!sum){printf("%d\n",0);return ;}sort(E+1,E+1+m);int IDX=(1<<k);for(int idx=0;idx<IDX;idx++){solve(idx);}printf("%lld\n",ans);}int main(){freopen("road.in","r",stdin);freopen("road.out","w",stdout);work();return 0;}```::::- 为什么要在这些题输出 $-1$ 呢。::::info[GX-S00367 employ.cpp]```cpp#include<bits/stdc++.h>using namespace std;int main(){freopen("employ.in","r",stdin);freopen("employ.out","w",stdout);ios::sync_with_stdio(false);cin.tie(0);cout.tie(0);cout<<-1;return 0;}```::::::::info[剩下的]- GX-S00431:`road.cpp`、`replace.cpp`、`employ.cpp`。::::- 工程型 dsu。::::info[GX-S00430 road.cpp]```cpp#include <bits/stdc++.h>using namespace std;class DisjointSet{private:int comp_cnt;vector<int> parent;vector<int> sizes;public:DisjointSet(int size) : comp_cnt(size), parent(size), sizes(size, 1) {for (int i = 0; i < size; i++) parent[i] = i;}int find(int x) {return parent[x] == x ? x : parent[x] = find(parent[x]);}bool unite(pair<int, int> edge){int x_root = find(edge.first);int y_root = find(edge.second);if (x_root == y_root) return false;comp_cnt--;if (sizes[x_root] < sizes[y_root]) swap(x_root, y_root);parent[y_root] = x_root;sizes[x_root] += sizes[y_root];return true;}bool full_connected() {return (comp_cnt == 1);}};int main(){freopen("road.in", "r", stdin);freopen("road.out", "w", stdout);ios::sync_with_stdio(false);cin.tie(nullptr);cout.tie(nullptr);int node_num, edge_num, build_num;cin >> node_num >> edge_num >> build_num;vector<pair<long long, pair<int, int>>> edges(edge_num);for (auto &it : edges){cin >> it.second.first >> it.second.second >> it.first;it.second.first--, it.second.second--;}sort(edges.begin(), edges.end());DisjointSet raw_dsu(node_num);vector<pair<long long, pair<int, int>>> useful_edges;for (auto it : edges){if (raw_dsu.full_connected()) break;if (raw_dsu.unite(it.second)) useful_edges.push_back(it);}vector<long long> build_cost(build_num);vector<vector<long long>> new_edges_cost(build_num, vector<long long>(node_num));for (int i = 0; i < build_num; i++){cin >> build_cost[i];for (int j = 0; j < node_num; j++) cin >> new_edges_cost[i][j];}long long ans = LLONG_MAX;for (int mask = 0; mask < (1 << build_num); mask++){long long total_cost = 0;int node_cnt = node_num;vector<pair<long long, pair<int, int>>> new_edges = useful_edges;for (int i = 0; i < build_num; i++){if (mask & (1 << i)){total_cost += build_cost[i];for (int j = 0; j < node_num; j++) new_edges.push_back({new_edges_cost[i][j], {node_cnt, j}});node_cnt++;}}sort(new_edges.begin(), new_edges.end());DisjointSet dsu(node_cnt);for (auto it : new_edges){if (dsu.full_connected()) break;if (dsu.unite(it.second)) total_cost += it.first;}ans = min(ans, total_cost);}cout << ans << "\n";return 0;}```::::- 请注意:`memset(1)` 是不可名状物。::::info[GX-S00384 employ.cpp]```cpp#include<bits/stdc++.h>using namespace std;int mod=998244353;int nn[1000],c[1000];bool ss[100];int n,m,t,sum=0;int p[1000];void exam(){for(int i=1;i<=n;i++){if(ss[i]==0||c[i]==0){nn[i]=0;c[i+1]--;}}}void choise(){for(int i=1;i<=n;i++){sum+=nn[i];if(sum<sum-nn[i]) {sum-=nn[i];}else{sum+=nn[i];p[i]=nn[i];}}if(sizeof(p)<m) {choise();}}int main(){freopen("employ.in","r",stdin);freopen("employ.out","w",stdout);memset(p,0,sizeof(p));memset(nn,1,sizeof(nn));cin>>n>>m;int s,t=1;cin>>s;for(int i=1;i<=n;i++)cin>>c[i];sort(c,c+1);for(int i=1;i<=t;i++){ss[i]=s%10;t++;s%=10;}exam();choise();for(int i=1;i<=n;i++){int pp;pp+=p[i];if(pp==m){t++;}}cout<<t;fclose(stdin);fclose(stdout);return 0;}```::::#### 代码艺术类- 这个飞来飞去的注释是怎么做到的。::::info[GX-S00624 club.cpp]```cpp/*#include<bits/stdc++.h>//using namespace std;//typedef long long ll;//typedef unsigned long long ull;//const int N = 4e5;//const int I = 1e5 + 7;//const int M = 2e4 + 7;//int T, n;//ll a[N][5], asn, lim[N][5], tot, biao[5000008];//inline void dfs(int ceil, ll cnt, ll maxx)//{// ll sum = 0;// if(ceil == n)//{// for(int i = 1; i <= 3; ++i)// {// if(lim[ceil - 1][i] < maxx)// {// cnt += a[ceil][i];// tot++;// biao[tot] = cnt;// cnt -= a[ceil][i];/// }//}//}// else// {// for(int i = 1; i <= 3; ++i)// lim[ceil][i] = lim[ceil - 1][i];// for(int i = 1; i <= 3; ++i)//{// if(lim[ceil][i] < maxx)// {// cnt += a[ceil][i];// lim[ceil][i]++;// if(lim[ceil][1] < maxx)// {// dfs(ceil+1, cnt, maxx);// }// if(lim[ceil][2] < maxx)//{// dfs(ceil+1, cnt, maxx);//}//if(lim[ceil][3] < maxx)//{// dfs(ceil+1, cnt, maxx);// }//cnt -= a[ceil][i];// }//}//}//}//int main()//{// freopen("club.in", "r", stdin);// freopen("club.out", "w", stdout);// ios::sync_with_stdio(0);//cin.tie(0);// cin >> T;// while(T--)// {// cin >> n;// ll maxx = n / 2;// asn = tot = 0;// memset(a, 0, sizeof(a));// memset(biao, 0, sizeof(biao));//memset(lim, 0, sizeof(lim));///for(int i = 1; i <= n; ++i)// for(int j = 1; j <= 3; ++j)// cin >> a[i][j];// for(int i = 1; i <= 3; ++i)//{// lim[1][i]++;//dfs(2, lim[1][i], maxx);//lim[1][i]--;// }//for(ll i = 1; i <= tot; ++i)// asn = max(asn, biao[i]);// cout << asn << "\n";//}//return 0;//}*/```::::- 楼梯状注释。::::info[GX-S00458 club.cpp]```cppsort(p3 + 1, p3 + cnt3 + 1, cmp3);// for(int i = 1; i <= cnt1; i++){// cout << p1[i].i;// }//cout << '\n';// for(int i = 1; i <= cnt2; i++){// cout << p2[i].j;// }// cout << '\n';//for(int i = 1; i <= cnt3; i++){// cout << p3[i].k;// }// cout << '\n';// cout << ans << '\n';while(cnt1 > n / 2){```::::- 用斜杠划分代码区域。::::info[GX-S00560 club.cpp]```cppvoid dfs(int level, int num){if(level == n){if(num > maxx && d1 <= n / 2 && d2 <= n / 2 && d3 <= n / 2) maxx = num;return;}if(d1 > n / 2) return;if(d2 > n / 2) return;if(d3 > n / 2) return;////////////////////////////////////////////////////c1[d1] = ar[level][0];d1++;dfs(level + 1, num + ar[level][0]);d1--;c1[d1] = 0;////////////////////////////////////////////////////c2[d2] = ar[level][1];d2++;dfs(level + 1, num + ar[level][1]);d2--;c2[d2] = 0;////////////////////////////////////////////////////c3[d3] = ar[level][2];d3++;dfs(level + 1, num + ar[level][2]);d3--;c3[d3] = 0;////////////////////////////////////////////////////return;}```::::### 后话本文基本由我一个人完成。有 $3$ 项由选手本人亲自提供。期间使用了 deepseek 生成的注释提取工具(虽然连正则都是错的),但是还是自己把所有代码都翻了一遍,所以做得很慢,对不起。欢迎大家加入 GXOI 交流群:322611329。如果有遗漏或者格式炸了的,私信我或者在群里提出,或者在[共享表格](https://docs.qq.com/sheet/DR0RXS2ZCU3h3S09y?tab=BB08J2)里补充。也欢迎在 J 组部分中填一填找到的有意思的东西,目前 J 组部分还是空的。J 组不一定做得了了,已经燃尽了。