版本比较
CSP2025 JS 迷惑行为大赏(上)
标题
增加 1 行删除 1 行
1CSP2025 JS 迷惑行为大赏1CSP2025 JS 迷惑行为大赏(上)
正文
增加 1129 行删除 0 行
1234561,157 行未改动全部展开1164116511661167**免责声明:以下代码不代表作者本人观点。**# 示例以下是一个代码展示格式的示例。## JS-S00000(以上为选手的准考证号。)1,157 行未改动全部展开[T1] **这是在干什么**```cpp//////////////////////////////////////////////////////////////////////////////```123456781,157 行未改动全部展开116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296**免责声明:以下代码不代表作者本人观点。**由于本人空闲时间较少且比较碎片化,本系列将分为上、中、下三个部分。本部分包括准考证号在 JS-S00001 和 JS-S00600 的考生代码。(JS 考生实在太多了 QWQ)# 示例以下是一个代码展示格式的示例。## JS-S00000(以上为选手的准考证号。)1,157 行未改动全部展开[T1] **这是在干什么**```cpp//////////////////////////////////////////////////////////////////////////////```## JS-S00305[T3] **拜谢 bx**```cpp//Thanks CCF qwq;```## JS-S00306[T1] **拜托了给我一个好的结局吧**```cpp//Hope to have a good ending.//Please.```## JS-S00311[T2] **自我介绍这一块**```cpp// Name: XK// Identity: XXXXXXKKKKKKKK-xk-XXX-KKK-XKXKXKXKXKXKXK123456789X```[T3] **狂野的签名**```cpp//XKXKXKXKXKXKXKXKKXKXKXKXKKXKX//XKXKXKXKKXKXKXKXKKXKXKXKKXKXK//XKXKXKXKXKXKXKKXKXKXKXKXKKXKX```## JS-S00313[T2] **特殊性质A**```cpp//special quality A```## JS-S00319[T1] **分割线+1**```cpp//-----------------------------------------------```## JS-S00323[T2] **斜杠青年**```cpp/////////////////```[T3] **亲爱的 CCF**```cpp//dear CCF,please give me 5 points```## JS-S00324[T1] **这是什么头文件**```cpp#include cstdio```[T2 T3 T4] **你在写些什么啊**```cpp//#include cstdio#include <bits/stdc++.h>using namespace std;int main(){//freopen("club.in","r",stdin);//freopen("club.out","w",stdout);int m,n,k;cin>>m>>n>>k;cin>>4 4 22 1 4 63 2 3 74 4 2 55 4 3 46 1 1 8 2 4cout<<13;return 0;}``````cpp//#include cstdio#include <bits/stdc++.h>using namespace std;int main(){//freopen("club.in","r",stdin);//freopen("club.out","w",stdout);int m,n;string a=xabcx;string b=xadex;string c=ab;string d=cd;string e=bc;string f=de;string g=aa;string h=bb;string i=aaaa;string l=bbbb;cin>>a>>" ">>b>>/n>>c>>" ">>d>>/n>>e>>" ">>f>>/n>>g>>" " >>h>>/n>>a>>" ">>b>>/n>>i>>" "<<l;cout<<"2"<<endl<<"0";return 0;}```cpp//#include cstdio#include <bits/stdc++.h>using namespace std;int a[100];int main(){//freopen("club.in","r",stdin);//freopen("club.out","w",stdout);int m,n;cin>>m>>n;string s.length()=n;cin>>s;```## JS-S00326[T1] **神秘中文注释**```cppstruct Node{int val;//zhiint num;//man yi du pai ming 1 shi di yi 0 shi di er -1 shi di san}a[MAXN][3];```(翻译:值;满意度排行/1是第一/0是第二/-1是第三)[T1] **默哀**```cpp//freopen("club.in","r",stdin);//freopen("club.out","w",stdout);```[T2] **于是我放弃了读入**```cppfor(int j = 1;j <= n;j++){cin >> a[i][j]}```[T4] **RP++**```cpp//// || |||||||||| |||||||||||// || || || ||// || || || || || ||// |||| || || || ||// || ||||||||||| |||||||||| ||||||||||// || || || ||// || || || ||// || ||// || ||// || ||////project Moon Start```## JS-S00330[T1 T2 T3 T4] **意义不明的结尾**```cpp//tefosi``````cpp//jpqIlu``````cpp//dududuDu``````cpp//sacT4```## JS-S00331[T1 T2 T3 T4] **优美的童话故事**```cpp//Try to take Zhong1 Chen2xi1 & Lu2 Guo3 to every contest.//Wish Zhong1&Lu2 forever,till the end!//Zhong1&Lu2 99.//0232 is the best pair in the world!//Little Pigeon is so beautiful, thanks to Little Pigeon.//Little Pigeon is the most beautiful, most adorable creature all over the world!//I love Little Pigeon!//Little Pigeon is the best!/*There once was a kingdom named "Pigeoland". The king of the kingdom Chuanshang was very old but wise. He only had a beautiful daughter, whose name wasZhong1 Guo3. The old king thought, "I need to find a man, who is kind, thoughtful and intelligent to be the new king, or my daughter will too buzy to livea happy life." So he said to his daughter, "Oh, my dear daughter, you are old enough to travel around the world like I did in a young age. It's the timeto leave home and get more hands-on experience."Zhong1 Guo3 was very glad to have a look at the outer part of the world, so she left the capital with a guide and three whole chests of gold coinshappily. She spent one chest of coins quickly in the first month. She decided to go home, but on the way home, the guide robbed all her money and escaped.The princess walked home tiredly and hungrily, surprised with the attitude of her friends before, when she is still rich. Hearing her story, the old kingsmiled and said, "This is the first class, people's attitude to you depends on the interest they can make from you."The princess left again with little money at the second time. She found a boyfriend and they loved each other deeply. But one day, she found thather boyfriend had another "only"! She was angry and went back home. "This is the second class, don't be the doll to love.", the old king said with acough.The princess travelled the third time. This time she brought some money and a pair o rings. She soon found her love, who was kind, thoughtful andclever, called Lu2 Chen2xi1. They got married, lived happily owning a farm.But soon the bad news come. The old king had a bad ill suddenly. The princess told her husband her true name and information, and they went backquickly. The old king laid on the bed, smiling weakly, "This is the last class, my daughter. You are a good leader now, and the class is over."The king dead in a few weeks, and the new king Lu2 Chen2xi1 worked hard and loved his queen very much. They also had a daughter.Years passed. The little princess growed up, and the old king and queen are both old. One day, the old queen said to the little princess, "Oh, mydear daughter..."*/```## JS-S00335[T1 T2 T4] **斜杠青年+1**```cpp/////////////////////////////////////////1111111```[T1] **不读题这一块**```cpp/*/I thought T1 for 1.5h and puzzled with "n".Beacuse if n%2==1,it might be too hard for me to come up with the right alogithmFinally......When I looked the content above the requires again,I had found that was impoosible in this task......```## JS-S00338[T1] **还有珂学家**```cpp/*置身天上之森*/```## JS-S00340[T4] **你是 0 还是 1**```cpp//0 hard 1 easy```## JS-S00346[T4] **二次函数大题**(选手使用了 MD,所以我没有用代码的形式粘贴)/*25(本题满分16分).如图(没有),在抛物线 $y_1=ax^2+bx+3$ 上有一动点 $P$。抛物线交 y 轴于 $C\text{(0,3)}$,交 x 轴与 $A,B\text{(3,0)}$。$y_2=kx+m$ 交抛物线于 $A,C$ 两点,交抛物线的对称轴于 $E$。(1) 求 $y_1,y_2$ 的解析式。(3分)(2) A(_,_),E(_,_)。(2分)(3) 当 $P$ 在直线 $BC$ 上方时(不与 $B,C$ 重合),求 $\triangle PBC$ 面积最大值以及此时 $P$ 点坐标。(3分)(4) 求出当 $\triangle ACP$ 为等腰三角形时 $P$ 的坐标。(4分)(5) 在 $x$ 轴上是否存在一点 $Q$,使 $P,Q,A,E$ 构成的四边形是平行四边形?如果存在,直接写出 $P$ 点的坐标。(4分)*/## JS-S00351[T4] **你在从哪里读入**```cppfreopen("employ3.in","r",stdin);```## JS-S00356[T1] **应该不是诈骗吧**```cpp//freopen("club2.in", "r", stdin);```## JS-S00360[T2] **怎么突然出错了**```cppfreopen("road.out", "out", stdout);```## JS-S00367[T2] **默哀**```cpp//freopen("road.in","r",stdin);//freopen("road.out","w",stdout);```## JS-S00369[T2] **女娲造人** (我也不知道怎么打码)```cpp/* for(int i=0;i<1000;i++){cout<<"CCF I made you mom!!!";}(省略约 10000 个相同代码块)```## JS-S00374[T1] **真的是记搜吗**```cpp// let me try force(dfs)!!!// then write ji yi hua sou suo```## JS-S00378[T1 T2 T3 T4] **记得文件 long long**(意义不明)```cpp//memory file long long```## JS-S00380[T1 T2 T3 T4] **空气质量真热啊**```cpp// The air-condition is so hot!```(猜你想看:air conditioner)## JS-S00389[T1 T2 T3 T4] **自我介绍 + 注意事项人**```cpp// xiaruize.../*Things you should definitely check:1. file operation2. memory limit3. debugging lines*/```## JS-S00391[T1] **拼写大师 + 你在往哪里输出**```cppfreopen("club.in","r",stdin);freopen("culb.ans","w",stdout);```## JS-S00396[T1] **我知道,所以呢**```cpp//JS-S00396```## JS-S00400[T3 T4] **我不到啊**```cppfor(int i=1;i<=117;i++){printf("😡👎I don't know👎😡\n");}```## JS-S00403[T2] **我不会啊**```cpp//prim?//wo bu hui a wwwww//yao afo l```## JS-S00408[T2] **拼写大师 & homo 特有的 32 甚至 24 分**```cppkruskra(); //32 - 24 pts```[T4] **没分**```cpp//0pts```## JS-S00415[T2] **烧香拜佛**```cpp/*~ ~ ~| | || | |___|___|___|___/ \\ /\_____________/*/```## JS-S00417[T2] **诈骗的怎么这么多啊**```cpp// freopen("road3.in","r",stdin);freopen("road.in","r",stdin);freopen("road.out","w",stdout);```## JS-S00419[T1 T2 T3 T4] **细致的心理描写 & 会的会的**```cpp//rp++++++++//why t1 so difficult//or i am too sweet//ganjue you 1.4 le//xiaoduiliyou nianlingbiwoxiao shilibiwoqiang deren//woshibushiyaobeitanchudandiaoduiliele//huashuojinnian demihuoxingweidashanghuibuhuiyouwo?```(翻译:校队里有年龄比我小实力比我强的人/我是不是要被弹出单调队列了/话说今年的迷惑行为大赏会不会有我)```cpp//rp++;``````cpp//ahhhhhh//ccfnengduogeiwoyidianfenma```(翻译:CCF 能不能给我一点分啊)```cpp//baolimaosifenhaitingduode//suijishusuanfa!!```(翻译:暴力貌似分还挺多的/随机数算法!)## JS-S00425[T2] **卧龙凤雏这一块**```cppkruscal();```## JS-S00429[T1 T2] **优美的特判**```cppif(n==4){int ans=0,sum=0;sum=a[1][1]+a[2][1]+a[3][2]+a[4][2];ans=max(sum,ans);sum=a[1][1]+a[2][1]+a[3][2]+a[4][3];ans=max(sum,ans);sum=a[1][1]+a[2][1]+a[3][3]+a[4][2];ans=max(sum,ans);sum=a[1][1]+a[2][1]+a[3][3]+a[4][3];ans=max(sum,ans);sum=a[1][1]+a[2][2]+a[3][1]+a[4][2];ans=max(sum,ans);sum=a[1][1]+a[2][2]+a[3][1]+a[4][3];ans=max(sum,ans);sum=a[1][1]+a[2][1]+a[3][3]+a[4][2];ans=max(sum,ans);sum=a[1][1]+a[2][1]+a[3][3]+a[4][3];ans=max(sum,ans);sum=a[1][1]+a[2][1]+a[3][3]+a[4][2];ans=max(sum,ans);sum=a[1][1]+a[2][1]+a[3][3]+a[4][3];ans=max(sum,ans);sum=a[1][1]+a[2][2]+a[3][1]+a[4][2];ans=max(sum,ans);sum=a[1][1]+a[2][2]+a[3][1]+a[4][3];ans=max(sum,ans);sum=a[1][1]+a[2][2]+a[3][2]+a[4][1];ans=max(sum,ans);sum=a[1][1]+a[2][2]+a[3][2]+a[4][3];ans=max(sum,ans);sum=a[1][1]+a[2][2]+a[3][2]+a[4][1];ans=max(sum,ans);sum=a[1][1]+a[2][2]+a[3][2]+a[4][3];ans=max(sum,ans);sum=a[1][1]+a[2][2]+a[3][3]+a[4][1];ans=max(sum,ans);sum=a[1][1]+a[2][2]+a[3][3]+a[4][2];ans=max(sum,ans);sum=a[1][1]+a[2][2]+a[3][3]+a[4][3];ans=max(sum,ans);sum=a[1][1]+a[2][3]+a[3][1]+a[4][2];ans=max(sum,ans);sum=a[1][1]+a[2][3]+a[3][1]+a[4][3];ans=max(sum,ans);sum=a[1][1]+a[2][3]+a[3][2]+a[4][1];ans=max(sum,ans);sum=a[1][1]+a[2][3]+a[3][2]+a[4][2];ans=max(sum,ans);sum=a[1][1]+a[2][3]+a[3][2]+a[4][3];ans=max(sum,ans);sum=a[1][1]+a[2][3]+a[3][3]+a[4][1];ans=max(sum,ans);sum=a[1][1]+a[2][3]+a[3][3]+a[4][2];ans=max(sum,ans);sum=a[1][2]+a[2][1]+a[3][1]+a[4][1];ans=max(sum,ans);sum=a[1][2]+a[2][1]+a[3][1]+a[4][2];ans=max(sum,ans);sum=a[1][2]+a[2][1]+a[3][1]+a[4][3];ans=max(sum,ans);sum=a[1][2]+a[2][1]+a[3][2]+a[4][1];ans=max(sum,ans);sum=a[1][2]+a[2][1]+a[3][2]+a[4][3];ans=max(sum,ans);sum=a[1][2]+a[2][1]+a[3][3]+a[4][1];ans=max(sum,ans);sum=a[1][2]+a[2][1]+a[3][3]+a[4][2];ans=max(sum,ans);sum=a[1][2]+a[2][1]+a[3][3]+a[4][3];ans=max(sum,ans);sum=a[1][2]+a[2][2]+a[3][1]+a[4][1];ans=max(sum,ans);sum=a[1][2]+a[2][2]+a[3][1]+a[4][3];ans=max(sum,ans);sum=a[1][2]+a[2][2]+a[3][3]+a[4][1];ans=max(sum,ans);sum=a[1][2]+a[2][2]+a[3][3]+a[4][3];ans=max(sum,ans);sum=a[1][2]+a[2][3]+a[3][1]+a[4][1];ans=max(sum,ans);sum=a[1][2]+a[2][3]+a[3][1]+a[4][2];ans=max(sum,ans);sum=a[1][2]+a[2][3]+a[3][1]+a[4][3];ans=max(sum,ans);sum=a[1][2]+a[2][3]+a[3][2]+a[4][1];ans=max(sum,ans);sum=a[1][2]+a[2][3]+a[3][2]+a[4][3];ans=max(sum,ans);sum=a[1][2]+a[2][3]+a[3][3]+a[4][1];ans=max(sum,ans);sum=a[1][2]+a[2][3]+a[3][3]+a[4][2];ans=max(sum,ans);sum=a[1][3]+a[2][1]+a[3][1]+a[4][2];ans=max(sum,ans);sum=a[1][3]+a[2][1]+a[3][1]+a[4][3];ans=max(sum,ans);sum=a[1][3]+a[2][1]+a[3][2]+a[4][1];ans=max(sum,ans);sum=a[1][3]+a[2][1]+a[3][2]+a[4][2];ans=max(sum,ans);sum=a[1][3]+a[2][1]+a[3][2]+a[4][3];ans=max(sum,ans);sum=a[1][3]+a[2][1]+a[3][3]+a[4][1];ans=max(sum,ans);sum=a[1][3]+a[2][1]+a[3][3]+a[4][2];ans=max(sum,ans);sum=a[1][3]+a[2][2]+a[3][1]+a[4][1];ans=max(sum,ans);sum=a[1][3]+a[2][2]+a[3][1]+a[4][2];ans=max(sum,ans);sum=a[1][3]+a[2][2]+a[3][1]+a[4][3];ans=max(sum,ans);sum=a[1][3]+a[2][2]+a[3][2]+a[4][1];ans=max(sum,ans);sum=a[1][3]+a[2][2]+a[3][2]+a[4][3];ans=max(sum,ans);sum=a[1][3]+a[2][2]+a[3][3]+a[4][1];ans=max(sum,ans);sum=a[1][3]+a[2][2]+a[3][3]+a[4][2];ans=max(sum,ans);sum=a[1][3]+a[2][3]+a[3][1]+a[4][1];ans=max(sum,ans);sum=a[1][3]+a[2][3]+a[3][1]+a[4][2];ans=max(sum,ans);sum=a[1][3]+a[2][3]+a[3][2]+a[4][1];ans=max(sum,ans);sum=a[1][3]+a[2][3]+a[3][2]+a[4][1];ans=max(sum,ans);sum=a[1][3]+a[2][3]+a[3][2]+a[4][2];ans=max(sum,ans);cout<<ans<<"\n";}``````cppif(n==2){int ans=0,sum=0;sum=a[1][1]+a[2][1];ans=max(sum,ans);sum=a[1][1]+a[2][2];ans=max(sum,ans);sum=a[1][1]+a[2][3];ans=max(sum,ans);sum=a[1][2]+a[2][1];ans=max(sum,ans);sum=a[1][2]+a[2][2];ans=max(sum,ans);sum=a[1][2]+a[2][3];ans=max(sum,ans);sum=a[1][3]+a[2][1];ans=max(sum,ans);sum=a[1][3]+a[2][2];ans=max(sum,ans);sum=a[1][3]+a[2][3];ans=max(sum,ans);cout<<ans;return 0;}```## JS-S00444[T3] **这是什么语言**```cppq2qq```(以上为代码全文)## JS-S00447[T4] **默哀**```cpp//freopen("employ.in","r",stdin);//freopen("employ.out","w",stdout);```[T3] **有什么用吗**```cpp#include <bits/stdc++.h>using namespace std;int main(){int a;cin>>a;cout<<2<<"\n"<<0;}```## JS-S00449[T1] **暴力白写了**```cpp#include<bits/stdc++.h>using namespace std;int t,n,a[114514],maxx=INT_MIN;void dfs(int i){if(i==n+1){for(int j=1;j<=n;j++){cout<<a[j]<<" ";}cout<<endl;return;}for(int j=1;j<=n;j++){a[i]=j;dfs(i+1);}}int main(){cin.tie(0);cout.tie(0);ios::sync_with_stdio(false);cin>>n;dfs(1);return 0;}```## JS-S00452[T3] **暴*语言**```cpp//f**k c*f```(未经过打码处理)## JS-S00454[T3] **默哀**```cpp//freopen("replace.in","r",stdin);//freopen("replace.out","w",stdout);```## JS-S00455[T1] **神秘表情人**```cpp//(QWQ) (^_^) =) =( (qwq) (QAQ) ( !&@#!& )( !&)!!& ) (*_*) (*o*) (^o^) ($o$) ($_$)```## JS-S00456[T1 T2 T3 T4] **注意事项人 + 回望过去**```cpp/*1. keep calm, one mistake can't ruin ur test, but mental breakdown can2. read the problem carefully, at least twice3. think calmly: think twice code once, think once code forever4. check freopen and filename5. array limits, corner cases(0), int/long long overflow, init if multicases6. trust urself, u r the best version of urself, don't compare with othersthat one day, when we look back, we will be amazed by how far we've comed!*/```## JS-S00463[T2] **黑衣**```cppfreopen("road.in","r",stdin);//freopen("road.out","w",stdout);```## JS-S00467[T1] **哭哭**```cpp// 15pts cry```## JS-S00469[T1 T2 T3 T4] **膜拜 + 自信 + 密码**```cpp//mo bai xst dalao//mo bai wyx dalao//mo bai cyh dalao//I AK IOI//Ren5Jie4Di4Ling5%```## JS-S00471[T1 T2 T3 T4] **师出同门**```cpp//file memory long long```## JS-S00479[T1] **T2 炸了关我 T1 什么事**```cpp//t2 zhale.//ready for afo.```## JS-S00492[T3] **飞流直下三千尺**```cppint n,m,a[]={44,0,0,0,0,0,0,0,0,0,0,0,1,4,1,0,0,0,0,0,0,0,0,0,0,0,1,1,0,1,0,0,2,0,0,1,0,0,0,```(这个数组大约有1000行那么长)## JS-S00493[T1] **楼梯 +1**```cpp}else if(n==10){for(int i=1;i<=3;i++){cnt[i]++;sum+=a[1][i];for(int i2=1;i2<=3;i2++){cnt[i2]++;sum+=a[2][i2];for(int i3=1;i3<=3;i3++){cnt[i3]++;sum+=a[3][i3];for(int i4=1;i4<=3;i4++){cnt[i4]++;sum+=a[4][i4];for(int i5=1;i5<=3;i++){cnt[i5]++;sum+=a[5][i5];for(int i6=1;i6<=3;i6++){cnt[i6]++;sum+=a[6][i6];for(int i7=1;i7<=3;i7++){cnt[i7]++;sum+=a[7][i7];for(int i8=1;i8<=3;i8++){cnt[i8]++;sum+=a[8][i8];for(int i9=1;i9<=3;i9++){cnt[i9]++;sum+=a[9][i9];for(int ix=1;ix<=3;ix++){cnt[ix]++;sum+=a[10][ix];if(judge(n) && maxn<sum){maxn=sum;}cnt[ix]--;sum-=a[10][ix];}cnt[i9]--;sum-=a[9][i9];}cnt[i8]--;sum-=a[8][i8];}cnt[i7]--;sum-=a[7][i7];}cnt[i6]--;sum-=a[6][i6];}cnt[i5]--;sum-=a[5][i5];}cnt[i4]--;sum-=a[4][i4];}cnt[i3]--;sum-=a[3][i3];}cnt[i2]--;sum-=a[2][i2];}cnt[i]--;sum-=a[1][i];}```## JS-S00494[T4] **输出样例,但是默哀**```cpp// freopen("employ.in","r",stdin);// freopen("employ.out","w",stdout);```## JS-S00498[T3] **暗藏玄机**```cpp// #include <functional>I// #include <cstring>the// #include <iostream>two// #include <algorithm>horses// #include <cstdio>in// #include <vector>the// #include <random>supermarket// #include <queue>and// #include <unordered_map>cpp// #include <cstdio>codeforces```## JS-S00500[T1 T2 T3 T4] **回望历史 展望将来**```cpp//luogu914813 Undercraft//acta est fabula,plaudite//vivid/stasis//fu sai JS-J00492 JS-S00500//chu sai -j 98 -s 72//csp-s//xi wang neng jin noip//15:07 fa xian bu shi tan xin,zai xie fen zu bei bao```(T1)```cpp//luogu914813 Undercraft//acta est fabula,plaudite//vivid/stasis//fu sai JS-J00492 JS-S00500//chu sai -j 98 -s 72//csp-s//xi wang neng jin noip```(T2 ~ T4)## JS-S00503[T1] **怎么这么多楼梯啊**```cppelse{for(int a=1;a<=3;a++){for(int b=1;b<=3;b++){for(int c=1;c<=3;c++){for(int d=1;d<=3;d++){for(int e=1;e<=3;e++){for(int f=1;f<=3;f++){for(int g=1;g<=3;g++){for(int h=1;h<=3;h++){for(int i=1;i<=3;i++){for(int j=1;j<=3;j++){df(a);df(b);df(c);df(d);df(e);df(f);df(g);df(h);df(i);df(j);if(k>n/2 || l>n/2 || m>n/2) continue;ans=max(ans,de(a,1)+de(b,2)+de(c,3)+de(d,4)+de(e,5)+de(f,6)+de(g,7)+de(h,8)+de(i,9)+de(j,10));}}}}}}}}}}}```## JS-S00504[T1 T2] **你膜对人了吗**```cpp// rto kkksc03 orz``````cpp/*kkksc03 orz orz orz Orz Orz Orz Orz Orz Orz999ms 998ms*/```## JS-S00513[T2] **PDF 人**```cpp/*2025 CCF 非专业级软件能力认证CSP-J/S 2025 第二轮认证提高级时间:2025 年 11 月 1 日 14:30 ∼ 18:30题目名称 社团招新 道路修复 谐音替换 员工招聘题目类型 传统型 传统型 传统型 传统型目录 club road replace employ可执行文件名 club road replace employ输入文件名 club.in road.in replace.in employ.in输出文件名 club.out road.out replace.out employ.out每个测试点时限 1.0 秒 1.0 秒 1.0 秒 1.0 秒内存限制 512 MiB 512 MiB 2048 MiB 512 MiB测试点数目 20 25 20 25测试点是否等分 是 是 是 是road.cpp replace.cpp employ.cpp提交源程序文件名对于 C++ 语言club.cpp编译选项对于 C++ 语言‐O2 ‐std=c++14 ‐static```(省略整个 PDF)## JS-S00522[T1 T2 T3 T4] **奇迹再现**```cpp//AD ASTRA PER ASPERA//i wanna ak...//What's meant by miracle, a word outside my days?```[T2] **奇怪的语言**```cpp//zvzdoy po imeni solntse......```[T3] **思路 + 字节数**```cpp/*It's not easy so we should think it twice.We get the different part of each pair of (S1,S2) and (T1,T2)if a pair of (S1,S2) is the same we should ignore itThus, a pair of (T1,T2) can only match the pairs of (S1,S2) with the same difference of it.We hash the difference and put pairs into buckets by their difference.Insert the prefixes and suffixes into trie.3h could be enough for me, so I can get 300+.*///5k byte/fn```[T4] **我要去厕所!**```cpp//i want 332//oh no//i have only 320//please let me go to WC```## JS-S00528[T1 T2 T3 T4] **报时人 & 99**```cpp//14:33 begin//14:42 finished``````cpp//T2 is easier than T1.//14:44 begin//15:01 finished``````cpp//15:17 begin//it's too hard.//17:25 maybe get 70 pts.``````cpp//17:27 begin//Devil_donna plz give me power to fight against evil Chi-Chi-Fan Chi-Shu_Pian contest.//yzy&myh 99 hzc&gjh 99 wjh&bubble fish 99 gtl&??? 99//A: people that not come equals to ???.//s[i]==0 equals to force a[i]=0.//wo zhi neng yong yuan du zhe dui bai```## JS-S00532[T1 T2 T3 T4] **不会溢出吗**```cpp//RP+=INF```## JS-S00546[T2 T4] **不用默哀了,反正也没有输出**```cpp//freopen("employ.in","r",stdin);//freopen("employ.out","w",stdout);```## JS-S00552[T2 T4] **第几个斜杠青年了**```cpp//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////```## JS-S00556[T1] **末日五问**```cpp// long? file? memory? time?// Problem 1: Multiple case->clear!```## JS-S00560[T1] **懒得手造数据了**```cpp// All big testcases are randomly gen'd, no 'over half' situation will exist// I don't want to make testcases myself lol```[T2] **梅开二度**```cpp// Big testcase may be too weak, passed 1e9 smh```[T3] **这大样例怎么回事啊**```cpp// no big testcase for O(nq)// probably choked 70pts bruh```[T1 T2 T3 T4] **我看不懂但大为震撼**```cpp/*000000000 000000000 000000000 0 *0 0 0 0 0 0 *0 0 0 0 0 0 *0 0 0 0 0 0 *000000000 000000000 0 0 0 *0 0 0 0 0 *0 0 0 0 0 *0 0 0 0 0 *000000000 000000000 000000000 0 ********************************************************************************************************* 0 000000000 000000000 000000000* 0 0 0 0 0* 0 0 0 0 0* 0 0 0 0 0* 0 0 0 000000000 000000000* 0 0 0 0 0 0* 0 0 0 0 0 0* 0 0 0 0 0 0* 0 000000000 000000000 0000000001,267,650,600,228,229,401,496,703,205,376SJJJ I SS ZZ;;;xIJJJ T IL ZZJS ILJ ...S TZZ;xxIOOJ ZZ TTTSSIL...ZZSSOO ILJJJZZ.OO TTSSx.IOOL JZZOOSSLILL.IIIISOO ILL ZZOO TSS...ILLL JJJOOLLLIDo NOT put this into compilation stuff.Screw anyone who does that.For those willing to ban me for swearing, 'screw' IS considered family-friendly.*/```## JS-S00566[T1] **理直气壮**```cpp//wo zhen bu hui!!! zhi neng yong bao mei le...```(翻译:我真不会!只能用暴力了...)[T2 T4] **召唤神明**```cppsrand(time(0));//xing yun zhi shen juan gu wo ba```## JS-S00571[T3 T4] **特判不是这么用的啊**```cppcin>>"4 2xabcx xadexab cdbc deaa bbxabcx xadex "cout<<"20"``````cppcin>>"3 21011 1 2";cout<<"2";```## JS-S00574[T1 T2 T3 T4] **声名远扬的 CCF 少爷机**```cpp//running time limit 1e9```## JS-S00575[T3] **祝好**```cpp/*60 + 48 = 108hai mei qu nian gaogan jue yao AFO let2 xie le yi ge xiao shi de jia zuo fazhen fu let3 lain bao li dou bu hui daben lai yi wei zhe ci neng 1= de*/```(翻译:还没去年高/感觉要 AFO 了/t2 写了一个小时的假做法/真服了/t3 连暴力都不会打/本还以为这次能 1= 的)[T4] **书读百遍 & 怎么又是你**```cppfor (int i = 1; i <= 114514; i++) {cout << "CSP-S AK me again\n";}//CSP-S2024 JS-S00574 is me```## JS-S00579[T2] **机智过人**```cpp//T1 xiang le 3h,zui hou hai shi da le bao li,ji zhi ru wo```(翻译:T1 想了 3h,最后还是打了暴力,机智如我)[T3] **算是暴戾语言吗**```cpp//I hate CCF!!!```[T4] **求 rp**```cpp//hou mian 3 ti quan da sui ji han shu,qiu rp++```(翻译:后面 3 题全打随机函数,求 rp++)## JS-S00592[T4] **默哀**```cpp//freopen("employ.in","r",stdin);//freopen("employ.out","w",stdout);```## JS-S00593[T4] **拼音大师 + 诈骗**```cpp//ksmksmksmksmksmksm/*bu hui ying yu , jiu yong pin yin ba.ke neng shi zui hou yi ci csp le,noip 2025 rp++;wmyr is pretty.2025.11.01 17:30freopen("employ1.in","r",stdin);wei da de hyzx , chu le shi tang nan chi dao bao.zhe li ying gai you yi ge ju xue li biao qing bao zhi lei de ^(=w=^)~ , dan shi xian ran sai chang shang mei you zhe wan yi.*/```(翻译:不会英语,就用拼音吧。可能是最后一次csp了,noip 2025 rp++;wmyr很漂亮。2025.11.01 17:30 伟大的 hyzx,除了食堂难吃到爆。这里应该有一个jixueli(翻译失败)表情包之类的,但是显然赛场上没有这玩意)## JS-S00595[T4] **又是牢大**```cpp/*see you again*/```