上海的准考证号为 $\textrm{SH-0001} \sim \textrm{SH-0378}$。
本次比赛共有四道题目,分别为 `number,sequence,variance,chess`。
其中 $1332$ 份代码含有 `include`,`include` 的出现次数为 $1695$ 次。
共有$4378$ 次 `return`,$1358$ 次 `main`,$79$ 次 `qwq`,$5$ 次 `qaq`。
一共有 $331$ 次 `998244353`(T2取模数),$44$ 次 `114514`,$3$ 次 `1919810`。
$2$ 位选手在代码里打了 `AFO`,祝好。
$1$ 个 `love`,是某位选手`number` 的数组名 `clearlove7`。~~如何评价 SH 没有表白人这一现象~~
没有 `.pas` 后缀的代码/kk。
---
施工日记:
2021-11-20:创建该文&加入二十多个迷惑代码
2021-11-21:又加入二十多个迷惑代码+整理结构
---
**一、常规篇(1~7)**
1. 经 典 永 流 传

共有 $7$ 位选手,祝好。
1. 无 名 文 件 人
`chess` 代码
```cpp
freopen(".in","r",stdin);
freopen(".out","r",stdout);
```
1. 调 试 代 码 人
```cpp
FILE*fin,*fout;
fin=fopen("sequence1.in","r");
fout=fopen("sequence.out","w");
```
1. 只 进 不 出 人
```cpp
freopen("variance.in","r",stdin);
//freopen("variance.out","w",stdout);
```
1. qqgg return 人
```cpp
freopen("chess.in","r",stdin);
freopen("chess.out","w",stdout);
return 114514;
```
1. 回 车 人
```cpp
freopen("number.in\n" , "r" , stdin);
freopen("number.out\n" , "w" , stdout);
```
1. 五 个 文 件 夹 人

---
**二、qqgg 故意行为篇(8~16)**
8. 电 风 扇 人
```cpp
int dfs(int la)//电风扇
{
```
~~其实大放水也是~~
1. 摆 烂 人
```cpp
return 0;
}
//不调了,摆烂QAQ
```
1. 自 知 之 明 人
```cpp
//可能是水,马力有限50pts (听说有人会收集迷惑操作?)
```
~~没错就是我~~
1. 一 场 空 人
```cpp
int main()
{
十年OI一场空,不开longlong见祖宗
return 0;
}
```
1. kkk 人

1. hhhc 人

1. xxs 人
```cpp
void xxs() {
```
1. cp 人
```cpp
void cp (ll *x, ll *y)
```
1. 我 看 不 懂,但 我 大 受 震 撼
```cpp
// IronHeart@413A
// 摆大烂!!!AFO。
#include 《bits、stdC嘉嘉。h》
#diana int = long———long
int 嘉然() {
int ans = 零, neg = 负一; char ch = getchar();
while (ch < '0' 或 ch > '9') { ???怎么写啊
while (ch ≥ '0' and ch ≤'9') ans *= 10;ans += getchar()-零的 ASCII 码;
return ans + neg;
}
puts(“嘉然今天吃什么”); \\ qwq
int dia = 嘉然(), na = 嘉然;
gets("%数\n", dia 加上 na);
return int; // 好习惯,不能 return int 以外的其他东西
```
嘉心糖都是这样写代码的吗。(
---
**三、祖 安 人 + 祈 福 人(17~24)**
17. 辱 骂 T1 人
```cpp
//There aren't too many numbers without any 7. CCF is good.
//This question is very good.
//Go on, CCF! More good problems like this!
//I finished this problem in 30 minutes!
//It is easier than DULIU CSP-S!
```
1. 祖 安 T2 人(手动加 `*`)
```cpp
}
//WHY T2 IS SO F**KING HARD
```
1. 常 规 祖 安 人(手动加 `*`)
```cpp
//CCF n**l
#include <bits/stdc++.h>
```
~~又是这个,没有新意~~
1. 许愿数据水人
`chess` 代码。
```cpp
//貌似还是有点小问题
//只能期待数据水一点了。。
```
~~我也觉得这次数据恒水~~
1. 故 意 CE 人 + 辱 骂 €€£ 人 + 预 言 家 (手动加 `*`)
```cpp
#include<bits/stdc++.h>
#include<bits\stdc++.h>
using namespace std;
uisng namespace std;
int mian()
int main()
{
//freopen("chess.in","r",stdin);
//freopen("chess.out","w",stdout);
froepen("chess.in","r",stdin);
froepen("chess.out","w",stdout);
freopen("chess.txt","r",stdin);
freopen("chess.txt","w",stdout);
freopen("chess2.in","r",stdin);
freopen("chess2.out","w",stdout);
freopen("chess.in","r",stdout);
freopen("chess.out","w",stdin);
freopen("qiju.in","r",stdin);
freopen("qiju.out","w",stdout);
你必能看到 !
pvzTFyyds
.........
... . . .
. . . . .
. . .
. .
.
generals.io rank 73
ccf,rnm,tq
f**k
int _______________________________;
//fclose(stdin);
//fclose(stdout);
return 0;
return o;
//return 0;
}
```
~~我看不懂,但我大受震撼~~
1. 辱骂人(手动加 `*`)
```cpp
//L***u will be funky; F**K CCF
```
不同意!洛谷将会留芳万年!
1. 认 爹 人
```cpp
/*
咱们呢
也不奢望什么
n = 4的时候
dfs就已经炸了
所以说
咱们拿个3*4=12分
就走人吧
希望数据n=4的时候不要太变态
因为当a【】=1 8 9 10的时候
程序就已经炸了
求求你了
给点分吧
哥哥
我的ccf好大哥
你是我爹
*/
```
1. 膜 拜 人
```cpp
cout<<"NOIp RP++!!!!!!"<<endl;
cout<<"ZJGS bless me get 1=!"<<endl;
cout<<"ZJGS bless me go to WC!!!"<<endl;
cout<<"ZJGS bless me no explode 0!!!"<<endl;
cout<<"STO €€£ OTZ";
```
---
**四、考场游记+作文+放歌篇(25~30)**
25. 祝好
```cpp
freopen("chess.in","r",stdin);
freopen("chess.out","w",stdout);
cin>>n>>m>>q;
//You know... I know how to write the AC program... But there is no time...
//As we all know, a DS problem can be like an giant simulation problem.
//Bye, AC. Hello, 32pts.
```
1. 考 场 游 记 人
```cpp
//number
//There aren't too many numbers without any 7. CCF is good.
//This question is very good.
//Go on, CCF! More good problems like this!
//I finished this problem in 30 minutes!
//It is easier than DULIU CSP-S!
//O(xuanxue + T*log(xuanxue))
```
```cpp
//sequence
//emm...It seems to be duliu.
//k=1 is NOT easy.
//O(2^{n/2} * n^2)? may the correct answer.
//now solve: 2^a1+2^a2+...+2^an = S, only one answer.
```
```cpp
//variance
//fangcha = n * (sum ai^2) - (sum ai)^2
//this is a wrong solution.
```
1. 名 言 人
```cpp
//Stop learning useless algorithms, go and solve some problems, learn how to use binary search.
```
upd:经评论区提醒发现是 um_nik 的名言。
---
28. $\textrm{Legends Never Die}$ 人
```cpp
/*lengends never die
when the world is calling you
can you hear them screaming out your name
legends never die
they become apart of you
every time you bleed for reaching greatness
rentless you survive
you neve lose hope when everything's cold and fightings near
it's deep in their bones they'll run into the somke where the fire is fierce
oh pick yourself up cause*/
```
---
29. $\textrm{Never Gonna Give You Up}$ 人
```cpp
int v[105];//never gonna give you up~~~~~
```
---
30. $\textrm{Awaken}$ 人
```cpp
/*The night backons while you dream
A life never lives in peace.
As you stand upon the edges,
woven by a single thread.
And the fate may fall down upon you,
while the devil is knocking,
right at your door.
So all you restless,
each night you hear the drums of war
Awaken
Awaken
The voice begins to call you while you hunger
The taste of desteny you are searching for
Awaken
Awaken
The fight is at your door to go cause
Awaken
...
Awaken
As you stand upon the edges,
hanging in balance
And the fate may fall down upon you all
while the devil is knocking
so all you restless
each night you hear the drums of war
Awaken
Awaken
the night begins to call you while you hunger
the taste of desteny you are seaching for
Awaken
Awaken
Awaken */
```
upd:经评论区提醒,发现是 2019 英雄联盟新赛季宣传曲 $\textrm{Awaken}$。
---
**五、代 码 错 误 篇 + 打 表 篇(31~43)**
31. 输 错 MOD 人
```cpp
const ll Mod=99824353;
```
应该是 $998244353$ 啊。
1. `/n` 人 + 奇 怪 `printf` 用 法 人
```cpp
freopen("chess.in", "r", stdin);
freopen("chess.out", "w", stdout);
cin >> t;
if(t == 1)
printf("%d/n%d/n%d/n%d/n%d/n", "4", "3", "3","3", "2");
if(t == 2)
printf("%d/n%d/n%d/n%d/n%d/n%d/n%d/n", "3", "4", "4","2","5","5","1");
```
1. 孤 注 一 掷 人
```cpp
freopen("sequence.in","r",stdin);
freopen("sequence.out","w",stdout);
const int mod=998244353,maxn=100010;
int n,m,k,a[maxn];
cin>>n>>m>>k;
for(int i=1;i<=m+1;i++) cin>>a[i];
srand(time(0));
cout<<rand()%mod+1;
```
说实话,买百万彩票中奖的概率都比AC概率高。
1. 更 孤 注 一 掷 人
```cpp
freopen("sequence.out","w",stdout);
cout<<abs((rand()*998244353*114514*18874151574)%998244353);
```
1. `ull->ll` 人
```cpp
typedef unsigned long long ull;
ull fangchamin;
...
printf("%lld",fangchamin);
```
这个也是常犯的错误哇。
1. 脱 裤 子 放 屁 人
```cpp
#define endl '\n'
#define puts("") printf("\n")
#define cout <<" " printf(" ")
#define write(x) scanf("%d",&x)
```
1. 脱 裤 子 放 屁 人 2 + MLE 人
```cpp
#include <bits/stdc++.h>
using namespace std;
int t;
int route[2001][2001][2001][2001];
int main(){
cin>>t;
for(int l=1;l<=t;l++)
return 0;
}
```
1. 脱 裤 子 放 屁 人 3

1. 脱 裤 子 放 屁 人 4
```cpp
char str1[N],str2[N];
int now,grid[N],col[N],lv[N],x[N],y[N],rode[N][4];;
bool vis[N];
int main() {
memset(str1,0,sizeof(str1));
memset(str2,0,sizeof(str2));
memset(rode,0,sizeof(rode));
memset(x,0,sizeof(x));
memset(y,0,sizeof(y));
memset(col,0,sizeof(col));
memset(lv,0,sizeof(lv));
memset(grid,0,sizeof(grid));
```
SH 大概有五十多份打表代码,这里选几个比较有代表性的。(
40. 打 表 十 万 行

1. 打 表 五 万 行
~~你们都不知道有文件大小限制的吗~~

~~开这个文件的时候,旁边的360突然从64%到99%~~

~~密集恐惧症患者原地去逝~~

1. 打 表 一 行 人

1. 最 大 文 件 人

恭喜这位同学,凭着 $\textrm{38.1 MB}$ 的大小,获得压倒性的胜利!
里边是一个很长很长的 $01$ 数组,然后把我的 DEV 和 VSC 都卡崩了,对没错我的电脑蓝屏了,然后这篇博文写一半没保存……
最后重启了一下,作死用 Notepad++ 看的。
可以自己脑补一下打开会是什么样的。(
---
**后记**
如果乐意,可以在评论区留下自己想要被记录 / 发现别人的的迷惑行为。如果你的代码已经被记录在文章中,欢迎评论。
如果你的代码被选中了但不想被放出,可以私信编者删除。
---
NOIP,是一个新旧交替的过程:总有一些人会暂时退出。
那些暂时退出的那些同学,
作为还在 OI 圈里的我们,只能祝他们在未来创造更好的成绩。
我们还要祝那些刚刚启程的人:
要加油啊,你们是新的希望!
---