JX CSP-S 2020 迷惑行为大赏 SP

BillZhou233

2020-11-09 12:29:22

Personal

昨天同机房的 @Vector_ 测评了 T1,并进行了 JX S T1 迷惑行为大赏,开启了万恶之源,其他题目测评完大概也会有... 同时,我将 JX S 组代码上传到了 GitHub,通过仓库的检索功能来统计一些评测时没法看到的迷惑行为,整理为此 SP。 俗世奇人合集:[前传](https://www.luogu.com.cn/discuss/show/276012) / [黑 龙 江 人](https://www.luogu.com.cn/discuss/show/276062) / [江 苏 人](https://www.luogu.com.cn/discuss/show/276116) / [浙 江 人 ①](https://www.luogu.com.cn/discuss/show/276149) / [浙 江 人 ②](https://www.luogu.com.cn/discuss/show/276164) / [湖 南 人](https://www.luogu.com.cn/discuss/show/276160) / [北 京 人](https://www.luogu.com.cn/discuss/show/276171) / [重 庆 人](https://www.luogu.com.cn/discuss/show/276209) 冥间测评:[https://csp-s-2020-jx-folk.vercel.app/](https://csp-s-2020-jx-folk.vercel.app/) --- ## 1 - 大 样 例 人 > Sorry about that, but we can’t show files that are this big right now. > > -- GitHub ![](https://s1.ax1x.com/2020/11/09/B76GOx.png) GitHub 高级检索显示,在 JX S 组代码中,共有 4 份的长度 > 10KB。其中两份 T1 代码一个为 6.27 MB,另一个为 4.28 MB。剩下的两份 T3 代码如下: ![](https://s1.ax1x.com/2020/11/09/B7coPe.png) ![](https://s1.ax1x.com/2020/11/09/B7cHxA.png) ## 2 - 小 文 件 人 GitHub 高级检索显示,在 JX S 组代码中,共有 17 份的长度 < 100 Byte。 ![](https://s1.ax1x.com/2020/11/09/BH2mV0.png) r e t u r n 0 人 ![](https://s1.ax1x.com/2020/11/09/BH2UIK.png) n o t h i n g 人 ![](https://s1.ax1x.com/2020/11/09/BHRQTP.png) 框 架 人 ![](https://s1.ax1x.com/2020/11/09/BHRfTx.png) R P + + 人 ![](https://s1.ax1x.com/2020/11/09/BH22If.png) 随 机 数 不 设 种 子 不 写 文 件 人 ![](https://s1.ax1x.com/2020/11/09/BH2zQJ.png) v s 人(该人代码中只有单个字母 v 或 s ![](https://s1.ax1x.com/2020/11/09/BHWage.png) 代 码 雷 同 人 ## 3 - File IO Mega Collection 通过检索 `freopen`,整理出的迷惑行为。 ![](https://s1.ax1x.com/2020/11/09/B7g4Lq.png) 要 素 过 多 人 ![](https://s1.ax1x.com/2020/11/09/B7WJoV.png) 我 的 答 案 就 是 标 准 答 案 人 ![](https://s1.ax1x.com/2020/11/09/B7fWNV.png) 花 式 文 件 人 ![](https://s1.ax1x.com/2020/11/09/BHdDJI.png) 姗 姗 来 迟 还 不 缩 进 人 ![](https://s1.ax1x.com/2020/11/09/BHavxf.png) ![](https://s1.ax1x.com/2020/11/09/B7fx3D.png) 祸 不 单 行 人 ![](https://s1.ax1x.com/2020/11/09/BHdeMT.png) n u m + + 人 ![](https://s1.ax1x.com/2020/11/09/BHacVJ.png) 爆 零 人( 一 语 双 关 ![](https://s1.ax1x.com/2020/11/09/BHaTqe.png) 单 走 一 个 三 人 ![](https://s1.ax1x.com/2020/11/09/BHd4Fs.png) 一 人 ![](https://s1.ax1x.com/2020/11/09/BHdbOU.png) 半 人 ![](https://s1.ax1x.com/2020/11/09/BHdvk9.png) 只 有 我 一 人 写 的 输 出 凋 谢 在 评 测 机 里 面 人 ![](https://s1.ax1x.com/2020/11/09/B72kSH.png) 文 不 对 题 人 ![](https://s1.ax1x.com/2020/11/09/BHd7lV.png) 前 后 夹 击 人 ![](https://s1.ax1x.com/2020/11/09/BHU0ne.png) ![](https://s1.ax1x.com/2020/11/09/B7RGCD.png) 莎 普 爱 思 人 ![](https://s1.ax1x.com/2020/11/09/B7Ry8g.png) ![](https://s1.ax1x.com/2020/11/09/B7WbY8.png) 人 上 人 ![](https://s1.ax1x.com/2020/11/09/B7RoPU.png) 卡 评 测 人 ![](https://s1.ax1x.com/2020/11/09/B7gsdf.png) ![](https://s1.ax1x.com/2020/11/09/B7Rva6.png) 双 重 文 件 人(虽然有一个被注释了 ![](https://s1.ax1x.com/2020/11/09/BHUjuF.png) 注 释 一 半 人 ![](https://s1.ax1x.com/2020/11/09/B7W2WD.png) ![](https://s1.ax1x.com/2020/11/09/B7WTTP.png) ![](https://s1.ax1x.com/2020/11/09/BHalgf.png) ![](https://s1.ax1x.com/2020/11/09/BHaVDe.png) ![](https://s1.ax1x.com/2020/11/09/BHaP9x.png) 注 释 人 ## 4 - 做 个 文 明 O I 人 ![](https://s1.ax1x.com/2020/11/08/BTYpWD.png) ![](https://s1.ax1x.com/2020/11/08/BTYSJO.png) ## 5 - 一些统计 ### a. 读入 只有三人使用了 `ios::sync_with_stdio(false);`,包括本人。 在这三人之中只有两人使用了 `cin.tie(0);`,包括本人。 在这两人之中只有一人使用了 `cout.tie(0);`,就是本人。 ### b. 变量名 只有三人使用了 qwq 变量名。 ### c. 缩进 有很多人不会缩进 ~~,怕不是没用过 Linux~~。