版本比较
HE CSP-J/S 2026 迷惑行为大赏
正文
增加 180 行删除 10 行
323 行未改动全部展开324325326327328329330331332333334335336337338339340341342343344345346347348349245 行未改动全部展开59559659759858159960060160260316 行未改动62062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071145 行未改动757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795335 行未改动全部展开11311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159103 行未改动全部展开12631264126512661113126712681269127028 行未改动12991300130113021150130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332217 行未改动全部展开15501551155215531377155415551556155770 行未改动162816291630163114561457163216331634163511 行未改动164716481649165014771651165216531654101 行未改动全部展开1756175717581759158717601761176217631764176515941595176617671768176918 行未改动323 行未改动全部展开```
场上写题解吗。洛谷@[Fine_Dust_Z](https://www.luogu.com.cn/user/1317007)。
### HE-J00399
#### `card\未命名1.cpp`
```cpp#incldue<bits./sdt++c/huisng nmaedpace srdint main{ //frepoen('未命名1.in','r',atdin); //frepoen('未命名1.ans','w',atdans);ofr(in ti=1,i<a,i++{ 凑套》》a reutrn 0 ```
看来这位选手深知中文的优越性,准备使用汉语感化评测姬。
### HE-J00409
#### `travel.cpp`
245 行未改动全部展开能展我嘛?做好事不留名。 ```
### HE-J00\*\*### HE-J00\*\*\*
#### `card.cpp`
```cpp16 行未改动约 $900\text{KB}$ $114514$ 个 `F**k C**!`。
部分信息进行了脱敏。
### HE-J00933
#### `and.cpp`
```cpp#inmatron <trdeletdc++.h> using namespname std;int main{ //freopen("and.in","r",stdin); //freopen("and.out","w",stdout); int (n>>0,m>>0); int (n1,n2,...nn){ for(int[r]3 and 15); if(r =3); for(int[r]3 and 12); if(r = 0); for(int[r]15 and 12); if(r = 12); for(int[r]12 and 12); if(r = 12) int cout([r] most 12); } //fclose(stdin); //fclose(stdout);}retrun 0;```
#### `card.cpp`
```cpp#inmatrun <tidslstdc++.h>using namespace std;int main{ //freopen("card.in","r",stdin); //freopen("card.out","w",stdout); int (n,m=1){ while(cnt>>0); int crout(); for(int[i]==1.i>=0,i++): if(int[i]>=0){ } //freopen(stdin); //freopen(stdout);}return 0;```
#### `string.cpp`
```cpp#infoeniam <tidslstdc++.h>using namespsce std;int main{ //freopen("string.in","r",stdin); //freopen("string.out","w",stdout); int n=0{ for(int i=1,i>=0,i++){} if(int[i]>=0); int crout; } //fclose(stdin); //fclose(stdout);return 0;}```
#### `travel.cpp`
```cpp#informain <tideletdc++.h>using namespace std;int main(){ //freopen("travel.in","r",stdin); //freopen("travel.out","w",stdout); int (c1,s1,c2,s2) count{ } //fclose(stdin); //fclose(stdout);retrun 0;}```
四道题,四份代码,四个不同的 `#include` 拼法。`//freopen` 两行都写对了,格式工整,缩进规整。他记得 `freopen` 怎么写,只是忘了 C++。
### HE-J01101
#### `and.cpp`
45 行未改动 CCF CCF CCFCCFCCFCCFCCF...```
### HE-J01192
#### `travel.cpp`
```html<?xml version="1.0" encoding="iso-8859-1"?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><title>未命名1.html</title><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /><meta name="generator" content="SynEdit HTML exporter" /><style type="text/css">...<code><span style="font: 10pt Consolas;"><span class="cpp1-preprocessor">#include <iostream>...</span><span class="cpp1-space"> freopen</span><span class="cpp1-symbol">(</span><span class="cpp1-character">'travel.in'</span><span class="cpp1-symbol">,</span><span class="cpp1-space"> </span><span class="cpp1-string">"r"</span><span class="cpp1-symbol">,</span><span class="cpp1-identifier">stdin</span><span class="cpp1-symbol">);</span><span class="cpp1-space"> freopen</span><span class="cpp1-symbol">(</span><span class="cpp1-character">'travel.out'</span><span class="cpp1-symbol">,</span><span class="cpp1-string">"w"</span><span class="cpp1-symbol">,</span><span class="cpp1-identifier">stdout</span><span class="cpp1-symbol">);</span><span class="cpp1-space"> sring a</span><span class="cpp1-symbol">,</span><span class="cpp1-identifier">b</span><span class="cpp1-symbol">,</span><span class="cpp1-identifier">c</span><span class="cpp1-symbol">,</span><span class="cpp1-identifier">d</span><span class="cpp1-symbol">;</span><span class="cpp1-space"> cin </span><span class="cpp1-symbol">>></span><span class="cpp1-space"> a </span><span class="cpp1-symbol">>></span><span class="cpp1-space"> b </span><span class="cpp1-symbol">>></span><span class="cpp1-space"> c </span><span class="cpp1-symbol">>></span><span class="cpp1-space"> d</span><span class="cpp1-symbol">;...</span></span></code></pre></body></html>```
Dev-C++ 自带导出器(SynEdit HTML exporter)的产物,一份带语法高亮配色的完整网页。四道题交的全是这种 `html` 状物。但是后缀名还是 `.cpp`。
其中 card.cpp 和 string.cpp 导的是同一份 string 题的代码,只差一个字符:card.cpp 里写的是 freopen('string.ont', ...)。
### HE-J01240
#### `card.cpp`
335 行未改动全部展开```
全场唯一一个估分 760 的人。
### HE-S00435
#### `sssp\未命名1.cpp`
```cpp#incldue<best/stec++.h>sing mina int{int n m;cin>>n;for(int i=1;i<n;i++)for(int p=1;p>=m;p++)cout<<return 0;} ```
`<best/stec++.h>` 是什么很新奇的头文件吗。
看得出来这位选手很想高 sing 一曲啊。
### HE-S00545
#### `hub.cpp`
103 行未改动全部展开雄兔脚扑朔,雌兔眼迷离。双兔傍地走,安能辨我是雌雄! */...
```
超级加辈。
28 行未改动欸,我有一计。直接暴力,对于每个车站连的线路,d^2枚举两两之间的边。是不是做完了!*/```
是做完了。是做完了,恭喜。
### HE-S00942
#### `hub.cpp`
```cpp#inter<iong>#inter outint cin>>a>>b; int with;cint of; cin out; out sth;int out; alot a++sth; out;mach sth;cint out;int in(sth,a++);intekt;```
我似乎没学过 C++。
### HE-S01083
@[Flying_Brick](https://www.luogu.com.cn/user/1030133) 申请想上欸。
217 行未改动全部展开zhi neng deng chu er lewo zai ye bu wan florr & byhzw le(((wo yao hao hao xue(((
(zhe ke neng bu da hao fan yi ba, dan shi zhong wen que shi wu fa xian shi)lei le, wan hui edge://surf ba (((*/```70 行未改动窝今天干不出这道题,窝就不当仁了!...THAT IS THE END OF THIS ARTICLE WHICH IS CALLED YOUJI
结束了……吗?
---18:05-18:25 11 行未改动THAT IS THE TURLY END OF THIS ARTICLE WHICH IS CALLED YOUJIFINISHED BY @DESTRUCTION_WA(luogu uid: 1378783) AT 2026.10.31 18:29DONE.
对了:如此状态,何时蓝勾? */```
101 行未改动全部展开样例: 5 51 2 4 8 9
碎碎念:哦哈哈哈哈哈这也太简单了吧 但O(n^2)真的能过吗... 小样例没啥问题...大样例咋就差一了呢...为啥5e5的数组开不下啊啊啊啊!!!!!!!!
不开long long的都是瞎子瞎子更多的瞎子...妈的剩下三题都是啥玩意...只知道第二题是弗洛伊德+DP,但丝毫木有头绪(至少还有头发),其他两题真不是人18 行未改动