使用 VSCode 进行统计。
下文入选“抽象大师”评选的选手将用粗体表示,以便读者阅读其完整作品。
基础数据
在本次省选联考中,有 名考生共提交了 份代码。
最长的 wind.cpp 来自 GD-255,有 个字符。
最长的 xor.cpp 来自 GD-201,有 个字符。
最长的 wormhole.cpp 来自 GD-145,有 个字符。
最长的 maze.cpp 来自 GD-361,有 个字符,其中在注释里包含了对 Day2 的题面 PDF 全选、复制得到的全部内容。
最长的 timeline.cpp 来自 GD-294,有 个字符。
最长的 sleep.cpp 来自 GD-361,有 个字符,其中代码部分很短,但注释包含一个被称为 5.out 的文件的大量内容,并以一行 daima guochang checker baocuo,bu fang le 为结尾。
共出现 次 #include, 次 bits/stdc++.h,没有出现 bits\stdc++.h。
共出现 次 freopen,分布于 份代码中。共出现 次 //freopen 和 次 // freopen,其中 GD-335 的 timeline.cpp 出现了 次 //freopen,而唯一因注释文件读写失分的代码是 GD-419 的 wormhole.cpp(丢了 8 分)。
共出现 次 int main, 次 signed main 以及 次 #define int long long。
仅有 GD-249 的 wind.cpp 中引用了 pb_ds 头文件,但也未使用。
有 份代码使用了变量名 y1,但都是局部变量。
index 仅作为结构体成员变量出现在 GD-020 的 xor.cpp 中。
rank 未出现。
time 作为变量出现在两份代码中;GD-256 的 sleep.cpp 使用全局 time 数组,但未引用 ctime 头文件;GD-430 的 wind.cpp 引用万能头,但 time 定义在函数内;两者均有意无意逃过一劫。
特殊字符串
共出现 次 114514, 次 1919810。
fuck 仅出现一次,为 GD-204 的 maze.cpp 中一个始终未调用的函数名;fk 作为暴戾语言出现 次,位于 GD-270 的注释和 GD-315 被注释的调试语句中。
shit 未出现,但 sht 在 GD-270 的代码中出现了 次。
damn 出现一次,为 GD-205 的 sleep.cpp:puts("damn");;而 dmn 在 GD-270 的代码中出现两次。
sb 出现多次,但结合上下文看,均为正常变量名。
各类包含 nm 的暴戾语言均未出现。
膜拜相关:仅出现 次 orz 和 次 sto。
搜索 I 的部分结果:
-
GD-105 :
sleep.cpp:C++ /* I hate ths problem */wormhole.cpp:C++ /* Oh, this problem is too difficult for me I am even not willing to write 暴力 */ -
GD-106 的
sleep.cpp:C++ int main(){ freopen("sleep.in","r",stdin); freopen("sleep.out","w",stdout); printf("3\n3\n1"); // I am loser. return 0; } -
GD-134 的
wind.cpp:// I want to solve this problem in 1 h.然而实测 50 分。 -
GD-229 的
wind.cpp:// why I can't finish the problems at all???????? -
GD-399:
wind.cpp:C++ //I slove a qiandao problem using 2.5h //And I cant get 100pts //I think I can AFOxor.cpp:C++ //I dont know how to use binary secrah //So I have only 12pts //I think I can AFOwormhole.cpp:C++ //I cant understand problem because I am too vegetable //So I have only 0pts //I think I can AFO
搜索 is 的部分结果:
-
GD-004 的
maze.cpp:C++ debug("the op is %lld\n", t.op); -
GD-282 的
wind.cpp:C++ if(b==0)cout<<"where is your answer?\n";
搜索 love 的所有结果:
-
GD-005 的每份 Day1 代码:
// I love WHQ! -
GD-072 的每份代码:
C++ #define I using #define love namespace #define Elaina std ...... I love Elaina; -
GD-115 的
maze.cpp末尾注释:I love edge://surf. 25309pts. 11:12 -
GD-169 的
timeline.cpp:C++ //here is my love for c++ //here is my love for my persistence //see you next life祝好。
-
GD-270 的
maze.cpp:C++ // love me like u do love love love me like u do (like u do) // love me like u do love love love me like u do -
GD-368:
maze.cpp开头:// Peace and love and not AFO.
wormhole.cpp结尾:// Peace and Love.And AFO.祝好。
搜索 ccf 的部分结果:
-
GD-031 的
timeline.cpp:C++ cout << "Hello, CCF Arbiter 2.0!" << endl; cout << "Are you tired because you are scoring so many ugly code \n or it is because of your \"bugfulness\"?" << endl; cout << "Try to give me some points, okay? ... Well, you are very unfriendly." << endl; cout << "Good Bye!" << endl;大意:“你好啊,CCF 评测系统 2.0!你感到疲劳是因为你在给大量丑陋代码打分还是因为你‘浑身是虫’?努力尝试给我一点分好吗?……好吧,你非常不友善。再见!”
-
GD-428 的
timeline.cpp:C++ long long I_love_CCF() { return 1ll * RAND() * RAND() + 1ll * RAND() * RAND() + 1ll * RAND() * RAND(); }
搜索 afo 和 ioi 的部分结果:
-
GD-168 的
maze.cpp注释:代码 I think I've got a solution to this prob with O(n*logn*logn). But I just don't know how to make it in 45 minutes. Not even a try. Impossible for me with NOIP 243, Day 1 90, unless if I get 160+ today. I can't do T2, T3 either. I Think I'll end up with CE/0 for this prob. D1T1 90->70-, D1T2 32->12, D1T3 24->0 D2T1 90->45- Maybe I'll be AFOed soon, because of the restriction of 1/3.代码 寄。 据说 Day1 有人 200+,而我没过百 :-( Day2 爆零算了,切了这题分数也不够 赛后再把这几题切了 前几个小时搁这推了个寄 暴力都不会写了 考前写了太久 C++20,什么能用都分不清了 考前没写大模拟导致的 虽然场切了结构体,但现在回去看发现我当时写的就是一坨 有这码风不用在 CF 上可惜了(乐) 到处写挂还不会调 我应该和卷王去写鸭棋和过河卒的 或者去写点计算几何 背的网络流和字符串都没用上 考完之后回去学 whk 了 u1s1,某协会这次挺大方的 免费提供了士力架,还送了个笔记本 不知道该写什么了,来钓个鱼罢 :-) //freopen("maze.in","r",stdin); freopen("maze1.in","w",stdin); maze2.in maze3.in maze4.in maze5.in feropen(); NULL Genshin Impact ............
搜索 genshin 的部分结果:
-
GD-030 的
timeline.cpp:Do you play Genshin Impact? -
GD-228 的
wind.cpp(省流版):C++ if (条件) { 做法 } else if (条件) { 做法 } else { cout << "Genshin\n"; }
搜索 pts 的部分结果:
-
GD-271 的
maze.cpp:C++ /* Puzzling behavior, start! I was GD-J00282 in CSP-J 2023. You can refer to my code in it and you can find who I am. Thought&coded two hours for this problem and then I discovered that my algorithm went FALSE! Only brute force instead... 40 pts Upd: I thought that 100 pts is enough. But 40+30+0... Okok, that's nothing. Someone said '60 pts is still victory, and ok to work on brute force' Estimation: 100+40+24+40+30+0=234 Too young too vegetable! ______________________________________________________________________________________________ Maybe someone will put my code on 'Puzzling behavior collection', but it's not important. Work hard this year! */如你所愿。
-
GD-433 的
sleep.cpp:C++ /* This is my first time join the GDOI maybe i will lose lots of points :( whatever,thanks for my teachers,parents and my classmates :) maybe at the last,the result may not be very good-looking. i guess i have 100 pts of 2 days. now i am only in Grade 9 next year,i must be more outstanding than now hope i will go to the "GD shengdui" bleeses me.. oh, i am GD-433, Luogu:727558 */ -
GD-115 的多处估分:
C++ [wind.cpp] // This is completely wrong. 0pts [xor.cpp] // 0pts. [wormhole.cpp] // 0~4 pts [maze.cpp] // 40pts(Brute Force + A) [timeline.cpp] // 15pts(Special restriction B) [sleep.cpp] // Runtime Error. 0pts.虽然估分并不乐观,但是
pts前面数字最大的也是这位选手:C++ [wind.cpp] Despite all this, I got 17131 pts in edge://surf. 12:50 [maze.cpp] I love edge://surf. 25309pts. 11:12
搜索 GD 的部分结果:
-
GD-368 的
wind.cpp:C++ //RP++ //DengDuck AK IOI,ZMML AK IOI,BinBin AK IOI //HZX and TJM go to the GD shengdui,please
搜索 Exp10re 的所有结果:
-
GD-084:
wind.cpp末尾:C++ //Guys. //It's me Exp10re again. //My Luogu UID is 403069. //-------------------- //Segtree is a cute DS. //Cuteeeeee. //-------------------- // //So sad there's no segtree in GDOI. //qnq. // //Looks like i got 116 pts in GDOI Day1. //Hope i good luck.maze.cpp末尾:C++ //Man! //Hahahaha. //What can i say. //Exp10re OUT. // //2024/03/03 12:52. -
GD-115 的
wind.cpp:After this, I'm going to have a look at Exp10re's Segtree unbrella. 12:28
你说得对,但是 umbrella 打错了。
抽象大师
恭迎三位抽象大师!
GD-031
-
wind.cpp:C++ // 寄啦寄啦寄啦寄啦寄啦寄啦寄啦寄啦寄啦寄啦寄啦寄啦寄啦寄啦寄啦寄啦寄啦寄啦寄啦寄啦寄啦寄啦寄啦寄啦寄啦寄啦寄啦寄啦寄啦寄啦寄啦寄啦……(共计 996 个汉字) // 《代码中不能写与考试无关的内容》 // 上上行是得分,与考试相关;上行是考试规定,与考试相关;本行是防止产生误会的免责说明,也与考试相关。 -
timeline.cpp:C++ #include <fstream> #include <iostream> using namespace std; int main() { ifstream in("timeline.in"); ofstream out("timeline.out"); int n, m, k; in >> n >> m >> k; if (m == 0) { out << 1 << endl; return 0; } if (m == n * (n - 1) / 2) { out << 0 << endl; return 0; } cout << "Hello, CCF Arbiter 2.0!" << endl; cout << "Are you tired because you are scoring so many ugly code \n or it is because of your \"bugfulness\"?" << endl; cout << "Try to give me some points, okay? ... Well, you are very unfriendly." << endl; cout << "Good Bye!" << endl; // 《我心永恒》 out << 666666672 << endl; // Include my feeling // #include <mad.h> // Oops, that file isn't mad. // libmad - MPEG audio decoder library // XD out.close(); } /** * ######## ######### ###### ########## * ## ## ## # # ########## * ## # ## # # ## * ## # ## ## ## * ## # ######## ## ## * ####### ## ## ## * ## ## ## # ## ## * ## ## ## # # ## * ## ## ######### ####### ## */ /** * 神龙觉醒,风云巨变 * 龙言诞生,登峰造极 */ /********************************* * 龙言编程,醒龙为先。 * * 龙之 IO,叱咤风云。 * * 龙之利耳,伺听八方。 * * 龙之咆哮,震天动地。 * * 再无类型之分别,龙首自能会其义。 * * 毋有溢出之烦恼,龙心乃胸怀无量。 * ********************************* * 欲知后事如何?嗟呼!吾 TLE 矣。 * ********************************/《我心永恒》(指输出常量)
龙怎么你了?
GD-270
-
maze.cpp:C++ // 也一页一页一页哦哦 也一页一页一页哦哦 // (锣鼓喧天) // 我恭喜你 WA 我恭喜你 TLE // 最慢的请过来 太快的请走开 // oh 错多人不怪 // 我祝满天下的男孩 嫁一个好男孩 两小口永远在一块(it's me (what? // 我祝二姑父的比赛 题题全部错误 (剩下忘了:( ) // 我要回家看子明哥!!!(不是籽岷 // the sht sit on my left kept talking to himself and hitting the keyboard for 3 hour // is he braindead // oh dmn time is O(2^(2^n)) // i got rick rolled by task limit :( // love me like u do love love love me like u do (like u do) // love me like u do love love love me like u do // touch me like u do touch touch touch me like u do // what r u waiting for (AHHHHHHHH) // i wanna play genshin impact // i fked up // y there somany sht sht classmates sht school sht tests sht things // the biggest thing i wanna do is to go back home and have time with friends and families // not sitting here and just watching the sht problems // what sht can i finish? // a quarter year after is the biology and geography exam and one more year later is sht middle exam // will i get a good grade? for 100 percents? // this life (not at home) is sht in sht --- 3/3 12:40 // 出去后我一定要把士力架和巧克力全部抓走 欸嘿 // 长大之后想尝尝苹果酒和蒲公英酒的味道ww 万一在浓厚的酒精味下有股清香呢=w= // 怎么都在吃那个紫菜卷呢... 巧克力才好吃呢 嘿嘿 // 有没有巧克力酒啊(呆)可爱捏。
-
timeline.cpp:C++ #include<cmath> #include<cstdio> #include<vector> #include<cstring> #include<iostream> #include<algorithm> using namespace std; #define LL long long #define dieTime return 0; // 最讨厌概率论了(哭) 你让我输出01马上就能给你做出来 // awwww they're so nice // they gave me chocolate !!! gdoi is much better than sht csp gdkoi and noip // dudududududu // never gonna give u up(per_round) // never gonna let u down // never gonna round(_error) and round(_style) desert u // never gonna make(_pair) u cry // never gonna say goodbye // oh dmn i sleep overtime // NEXT SUMMER HOLIDAY!!! NEXT!!! I MUST TAKE MY DATA OUT FROM MY OLD PC AND CLEAN THE NEW ONE // i hear. is he going to break this keyboard? // i wanna abandon everythign and puncch this guy // i wanna go home. // we hope u enjoyed ur stay xqcl // can i get welcome to the jungle? // GG BOOOOND // GG BOOOOND BE A HERO IN CHILDREN ANIME(what?) // i wanna home and work in GTNH with my friends bair u_wq and wavyfish together // something big is coming~ // this is my kingdom come this is my kingdom come // ____ ___ ____ __ ____ _______ __ __ ___ _____'_ _____ __ _____ ____ // When can i have my own phone and buy things online? // And when can i have my own room to do the things with my best friends br that i wanna do but cannot do on daytime and evening // AUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUGH // CAN U FEEL MY HEART(GIGACHAD TIME) // city skyline 2: the retard came back // ahhh. i remember. i have to speech english by video. // but im doing big things bro---- my video is still not finishing and in my home... // god bless me. or i have to make myself get a fever on Wednesday bruh // i don't wanna be ill!!! but i have no more things to do!!! const int MAXN = 30; int n,m,k,u,v,tot,in[MAXN],nxt[MAXN*MAXN],head[MAXN],to[MAXN*MAXN],adv[MAXN]; bool flagA=true,flagB=true,visit[MAXN]; ............ inline void add(int a,int b){ nxt[++tot]=head[a]; head[a]=tot; to[tot]=b; } // only 16 point bro void dfs(int fa,int k){ ............ } int main(){ // because dog's letters are the same as god's // so god is dog //OHHHHHHHHHHHHHHHHHHHHHHH FileIO_OPEN("timeline"); // classic lLLLLLLLLLL // flagA... tree?www scanf("%d%d%d",&n,&m,&k); if(m==0){ printf("1"); dieTime // 5 points got!!! hoooray } for(int i=1;i<=m;i++){ scanf("%d%d",&u,&v); add(u,v); // way[u][v]=true; but it's so slow bro in[v]++; if(u!=1) flagB=false; if(in[v]>1) flagA=false; } if(k==0){ // i guess... is it a detect-ring problem? (a new word created!) for(int i=1;i<=n;i++){ if(adv[i]==0){ visit[i]=true; dfs(0,i); visit[i]=false; } } for(int i=1;i<=n;i++){ // i wanna watch big jiang and big he if(adv[i]>=2){ printf("0\n"); dieTime // ai-hei } } printf("1\n"); // the first ... super bomb explored in china successfully dieTime } printf("0"); // powerful. beautiful. strong. FileIO_CLOSE(); // 20~25 pts. I AM THE STROM THAT IS APPOARCHING------------------- return 0; }属于是叛逆期到了。
GD-115
-
wind.cpp:C++ // This is completely wrong. 0pts #include <cstdio> #include <iostream> #include <climits> ............ long long solve(long long sx,long long sy,int i) { ............ } // int mian() { int main() { ............ } /* With no "Qiandao problems", I'm left with no choice aside from playing chrome://dino or edge://surf. 8:53 Oh sorry. Wind seems a rather "Qiandao" problem here. 8:59 Doesn't matter. I just can't solve it. 9:10 Wait... 9:13 "Fenleitaolun", LAUNCH!!! 9:38 Nope. 9:58 Finished. 10:32 Well........... 10:46 This is certainly not a "Qiandao problem" after all - at least not for me. 10:56 I'm prepared to "Baoling". And I'm going to "Baoling". 11:25 Goodbye world. 11:46 My OI life is over, it's gaming time. 11:49 edge://surf is really fun. 12:20 After this, I'm going to have a look at Exp10re's Segtree unbrella. 12:28 I suddenly realize that I had never "Baolinged" before in any contest. 12:42 What's the difference between a Fe medal and a Cu medal? Maybe a slightly less empty list of awards on "ZongHePingJia". 12:48 Despite all this, I got 17131 pts in edge://surf. 12:50 If anyone sees this, could you please tell me where's the bug? 12:52 */代码实测 分,长度 字符,不帮你调了。
-
xor.cpp:C++ // 0pts. ............ /* Begin brute-forcing xor after failing at wind. 11:11 Sorry. This is far beyond me. 11:25 I just can't bring myself to doing something completely meaningless. 12:29 */省略部分中含有题目提供的 IO,但把原本两行注释换成了被注释掉的
freopen语句。
程序没有输出,确实是 分。 -
wormhole.cpp:C++ // 0~4 pts #include <cstdio> #include <iostream> using namespace std; int main() { // freopen("wormhole.in","r",stdin); freopen("wormhole.out","w",stdout); ios::sync_with_stdio(false); "I am a useless string constant!"; cout<<"1\n"; }分,不好评价。
-
maze.cpp:C++ // 40pts(Brute Force + A) ............ namespace SolA { ............ } namespace SolB { void main() { // It seems I don't know how to solve this. 12:20 } } namespace SolBF { ............ } int main() { ............ } /* The end is drawing nearer. 8:45 Believe in the Morrows(Translated from Shi2 Zhi3's poem Xiang1 Xin4 Wei4 Lai2 by me) When cobwebs relentlessly seal up the furnace, When smoke from cinders sighs at poverty's sorrows, Stubbornly I brush away the despondent cinders, And with beautiful snowflakes I write, "Believe in the morrows." When my purple grapes melt into late fall dew, When in another's embrace my blossom burrows, Stubbornly, with frosty and withered vines, On the stark earth I write, "Believe in the morrows." With my fingers - the waves surging toward the horizon, With my palm - the sea that lifts the sun as it glows, Holding a shaft of dawnlight - a warm, delicate pen, In a child's handwriting I write, "Believe in the morrows." ............ 8:58 Belief in the future is merely a reflection of disbelief in the present. 9:01 Wait. Maze appears ACable. 9:08 Once again, I was hilariously wrong. 9:24 {w} and k are too huge for DP, from which I can imply that Alice's operations must be based on a greedy algorithm. Or maybe an O(n) DP? 9:40 I love edge://surf. 25309pts. 11:12 I give up. I can't even succeed at what I once considered my advantage. I had practiced tree DP for half a year or so in my third grade in junior high. And now I'm reduced to "Pianfening". 11:26 I suppose 55pts isn't enough for a Cu medal. 12:22 I'll just go back to surfing. 12:37 */还真是 分,不过过程属实难绷。
那首诗是现代诗人食指的《相信未来》。查不到注释里这种翻译,可以暂且认为是 GD-115 译的。虽然(强行)押上了韵,但个人感觉不如这个流行的译文。 -
timeline.cpp:C++ // 15pts(Special restriction B) #include <cstdio> using namespace std; const long long Mod=1000000007; long long slowPow(const long long x,const long long k) { if(k==0) return 1; if(k==1) return x; long long r=slowPow(x*x%Mod,k/2); if(k%2) return r*x%Mod; return r; } int main() { freopen("timeline.in","r",stdin); freopen("timeline.out","w",stdout); int n,anEntirelyUselessVariableThatOughtToHaveBeenNamedMButWasNotUsedByTheCreatorOfThisCodeDueToTheFactThatHeOnlyKnowsHowToSolveTheProblemWithSpecialRestrictionBInWhichTheInformationThisVariableCarriesIsAllRepresentedInNAndK,k; scanf("%d%d%d",&n,&anEntirelyUselessVariableThatOughtToHaveBeenNamedMButWasNotUsedByTheCreatorOfThisCodeDueToTheFactThatHeOnlyKnowsHowToSolveTheProblemWithSpecialRestrictionBInWhichTheInformationThisVariableCarriesIsAllRepresentedInNAndK,&k); printf("%lld\n",slowPow(n*(n+k),Mod-2)*((n-1)*k+n+k)%Mod); } // 10 9 6稳拿 分。
《慢速幂》
《一个完全无用的本应叫做 的但是因为这份代码的作者只知道怎么做性质 B 而性质 B 中其所携带的信息都被 和 所体现而没有被他使用的变量》 -
sleep.cpp:C++ // Runtime Error. 0pts. #include <cstdlib> #include <ctime> #include <cstdio> int main() { srand(time(nullptr)); const static constexpr unsigned short int ___{1729}; // 1729 = 12^3 + 1^3 = 10^3 + 9^3 register volatile auto statusMe = "Alone", message = "HELP"; for(register volatile int unsigned short _ = ___; _; _--) puts(message); if(rand() % 2) { char *X = 0; X += ___; *X = *statusMe; return -___; } else return ___; // Why leave me, ___? } /* I'm done with OI. 8:42 ___, why are you leaving me alone? 12:19 */分的谜语人代码。注意到所有连续下划线除了循环变量以外都是三个,结合注释可作出一些合理猜想……
-
总结:无论你是 OI 大神,分讨大师,还是 edge://surf 大佬,还是 edge://surf 大佬,还是骗分大佬,还是 edge://surf 大佬,又或是翻译大佬,还是喜欢写无意义代码的小白,还是 edge://surf 大佬。
全文完