跳到正文

休闲·娱乐

BJ CSP-S 2025 迷惑行为大赏(下半)

Bismuth_Sulfate约 91 分钟
原文
文章信息与版本

文章信息

发布
2025年12月30日
收录
2026年1月8日
更新
2026年11月14日
篇幅
约 91 分钟

版本

  1. v2当前
  2. v1

前言

上半部分。

感谢我的同学给我提供的帮助。

选手代码

骗分事故

BJ-S01002

反向取模。

C++
T4:
cout<<998224353%q;

BJ-S01099

四道题的代码输出全放进 T4 里。

C++
T1,T2,T3,T4:
freopon("employ.in","r",stdin);
freopon("employ.out","w",stdout);
cout << [把小样例放进来输出了一遍]

BJ-S01185

人类拉了一地。一觉醒来全球 C++ 水平下降至原来的 1ℵ0\frac{1}{\aleph_0}。

BJ-S01188

你好像把 out 的含义理解错了。

我不明白你为什么要把 out 放在这里。

你的四道题全都把 freopen out 放在了文件的结尾。

C++
#include<bits/stdc++.h>
using namespace std;
int main(){
    freopen("employ.in","r",stdin);
    int n;
    cin>>n;
    cout<<0;
    freopen("employ.out","w",stdout);
}

BJ-S01193

此人已经不知天地为何物了。

BJ 出了这样的人才建议保送清华。

等一下!他居然知道怎么打小于等于符号!超纲了! 保送清华已经在屈才了啊!建议送去国外深造,说不定回来能发几篇 rubbish 呢。

BJ-S01396

和正上方那位坐同一桌。

BJ-S01461

全体骗分同学注意。如果您需要骗分,请您务必输出 00。如不遵守,那么您只能拿到 00 分。

C++
#include <bits/stdc++.h>
using namespace std;

int main() {
freopen("employ.in","r",stdin);
freopen("employ.out","w",stdout);
cout<<1;
return 0;
}
//gei yi dian fen ba

不输出 00 还想得分?做梦。

BJ-S01519

看懂掌声。

C++
T1:
cout<<"18"<<endl<<"4"<<endl<<”13“<<<endl;

BJ-S01540

骗分都骗不明白。

C++
T2,T3:
cout<<rand()/100000;

T4:
cout<<rand()/998244353;

另外,这个人 T2 和 T4 写的都是来自 T3 的 freopen。

BJ-S01551

逆流而上的 cin。错误的 freopen。

C++
T2:
#include <bits/stdc++.h>
using namespace std;
int main()
{
    freopen("club.in","r",stdin);
    freopen("club.out","w",stdout);
    int n,m,k;
    cin << n << m << k;
    if(n == 4 && m == 4 && k == 2)cout << "13";
    if(n == 1000 && m == 1000000 && k == 5)cout << "505585650";
    if(n == 1000 && m == 1000000 && k == 10)cout << "504898585";
    if(n == 1000 && m == 100000 && k == 10)cout << "5182974424";
    return 0;
}

BJ-S01577

他的每一道题 be like:

C++
T1,T2,T3,T4:
#include<iostream>
using namespace std;
int main()
{
cout<<[样例];
}
return 0;

BJ-S01592

他的每一道题 be like:

C++
T1,T2,T3,T4:
include <bits/stdc++.h>
uesing namespace std;
int main(){
freopen{"*.in""t"std in};
freopen{"*.out""w"std out};
int t[10],i,n[100005];
cin>>i;
cout<<[样例];







return 0;
}

BJ-S01629

C++
T2:
#include<bits/stdc++.h>
using namespace std;
int main(){
    freopen("road.in","r",stdin);
    freopen("road.out","w",stdout);
    cin>>4>>4>>2;
    cin>>1>>4>>6;
    cin>>2>>3>>7;
    cin>>4>>2>>5;
    cin>>4>>3>>4;
    cin>>1>>1>>8>>2>>4;
    cin>>1>>0>>1>>3>>2>>4;
    cout<<13;
    return 0;
}

BJ-S01756

这里并不是 python。

C++
T1:
int n;
......
if(n=="5 10 2020 14533 18961 2423 15344 16322 1910 6224 16178 2038 9963 19722 8375 10557 5444 3518 14615 17976 6188 13424 16615 8769 509 4394 958 3195 9953 16441 5313 10926 10 5491 4476 6362 9805 9130 15480 9090 9901 10480 6326 6516 1985 9119 2924 6420 9826 12689 7592 7293 16544 12901 11905 18183 18712 9015 3463 13025 1792 2433 17042 10 3004 4255 17336 11894 5756 17092 8150 14715 10991 5149 16652 16780 11524 11996 5433 7690 10472 19935 1184 6516 9246 3231 5570 10010 8426 16992 4654 18955 13977 16657 10 6839 5455 15586 11767 12919 2643 13775 8904 19938 13717 11997 15170 13707 2404 17497 3471 2462 8073 18467 14346 18663 13582 4839 15785 11875 7476 12308 8568 3134 18522 10 14230 3941 18854 12173 19429 15426 10974 4717 15290 4732 6608 4961 13198 13925 2137 10688 3092 16965 5356 19920 1471 11299 10796 13511 17932 12143 16407 5611 8100 16107")

BJ-S01807

棍母。

代码
T2:
while (cin >> x) cout;
cout << rand() % 10009;

BJ-S01852

仙家对话。

C++
T1:
freopen("club.in""r"stdin)
freopen("club.out""w"stdout)
cin>>n;
    if(n%2==0){
        for(int i=1;i<=n;i++){

            for(j=1;j<=3;j++){
                if(n/2<=n/j){
                    ans=n*i
                }
                else false;
            }
        }
    }
    else false;

T2:
#include<bits/stdc++.h>
using namesapce std;
int n,m,k,ans;
int main(){
    freopen("road.in""r"stdcin)
    freopen("road.out""w"stdcout)
    cin>>n>>m>>k;
    for(int i=1;i<=m;i++){

    }
    cout>>ans;
    return 0;
}

T3:
#include<bits/stdc++.h>
using namespace std;
int n,m;
string s;
int main(){
    freopen("replace.in""r"stdcin)
    freopen("replace.out""w"stdcout)
    int sc,c;

    return 0;
}a[n];
void dfs(int n,d)

T4:
#include<bits/stdc++.h>
using namespace std;
int p[100005];
string sf;
int n,m,ans;
int z=n;
int sf=n;
int main(){
    freopen("employ.in""r"stdcin)
    freopen("employ.out""w"stdcout)
    cin>>n>>m>>sf>>z;
    for(int i=1;i<=n;i++){

    }
    cout<<ans;
    return 0;
}

BJ-S01908

C++
T2:
int u[m],v[m],w[m],a[k];
for(int i=0;i<m;i++) cin>>u[i]>>v[i]>>w[i];
for(int i=0;i<k;i++) cin>>a[k];

BJ-S01919

裸奔的数据。

C++
T2:
if(a=={4 4 2/n,1 4 6/n,2 3 7/n,4 2 5/n,4 3 4/n,1 1 8 2 4/n})
{
    cout<<"13";
}

T3:
if(a=={4 2/n,xabcx xadex/n,ab cd/n,bc de/n,aa bb/n,xabcx xadex/n,aaaa bbbb/n})
{
    cout<<"2"<</n<<"0";
}
else if(a=={3 4/n,a b/n,b c/n,c d/n,aa bb/n,aa b/n,a c/n,b a/n})
{
    cout<<"0"<</n<<"0"<<"0"<<"0";
}

T4:
int a;
cin>>a;
if(a=={3 2/n,101/n,1 1 2})
{
    cout<<"2"
}
else if(a=={10 5/n,1101111011/n,6 0 4 2 1 2 5 4 3 3})
{
    cout<<"2204128";
}

BJ-S01923

看懂的人自动解说费城枪击案。

C++
T2:
#include<bits/stdc++.h>
using namespace std;
//A:cout<<0;
int u[1000005],v[1000005],w[1000005],c[15],a[15][10005],boo=0,boo1=0,n,m,k;
int u1[6]={-1,1,2,4,4},v1[6]={-1,4,3,2,3},w1[6]={6,7,5,4};
int c1[3]={1,100};
int a1[3][5]={{-1,1,8,2,4},{-1,1,3,2,4}};
int main(){
      freopen("road.in","r",stdin);
    freopen("road.out","w",stdout);
cin>>n>>m>>k;
if(n!=4||m!=4||k!=2){
boo1=1;
}
for(int i=1;i<=m;i++){
cin>>u[i]>>v[i]>>w[i];
if(u[i]!=u1[i]||v[i]!=v1[i]||w[i]!=w1[i]){
boo1=1;
}
}
for(int j=1;j<=k;j++){
cin>>c[j];
if(c[j]>0){
boo=1;
}
if(c[j]!=c1[j]){
boo1=1;
}
for(int i=1;i<=n;i++){
cin>>a[j][i];
if(a[j][i]>0){
boo=1;
}
if(a[j][i]!=a1[j][i]){
boo1=1;
}
}
}
if(boo==0){
cout<<0;
return 0;
}
if(boo1==0){
cout<<13;
return 0;
}
cout<<rand();
return 0;
}

BJ-S01967

啥也不说了,直接看代码。

注:他的四道题的代码都基本上是这样的。

C++
#include<bits/c++std.h>
using namespace std;
int main(){
    int n[10];
    int m[10];
    int k[10];
    cin<<n;
    cin<<m;
    cin<<k;
    if (n==4,m==4,k==2){
        cout<<13<<endl;
            return 0;
        }
    if (n==1000,m==1000000,k=5){
        cout<<505585650<<endl;
        return 0;
    }
后略

哦等下,他的第三题还有高手。

C++
T3:
if (n==37375,q==27578){
        cout<<0
0
0
0
0
0
0
(省略 2000 行)
0
0
0
0
2
0<<endl;
        return 0;
    }

    return 0;
}

游记选手

BJ-S01131

C++
T4:
//不知道阿
//无聊死了
//旁边有个开了引导模式的,好烦
//0329
//分高点吧
//别保龄。。。

补充:这个人没拿到奖,推测真的保龄了。

BJ-S01208

(这个是我。)

C++
// 决定在T4写一写考场心路历程。
// 反正T4拿不到满分。
// 这是我第一次考杠S。有点紧张,希望能拿1=。
// 现年初三。
// Luogu UID 890943 Bismuth_Sulfate

/*
14:25 我是傻逼。键盘就在桌子上。我没看见。
14:27 发密码了。
14:37 我不行了没有一道题看懂。
14:50 还是打打部分分吧。(开始啃T4)
14:52 不。
14:56 T1有思路了。
15:28 T1第一份代码完成。开始尝试样例。
15:30 nice。T1五个样例都过的了。最后一个样例330ms上下浮动。
15:33 T2似乎有思路了。但是我感觉我码力不够。
15:35 决定先写一个最小生成树板子。
15:41 看了数据范围。我这个方法似乎只能拿48分。
15:52 T2思路似乎炸了。看看T4。T4就奔着特性A去了。
16:01 塔玛有病吧为啥还有耐心为0的人啊这种人纯纯报复社会
16:03 这题我思考错了。我要去输出0骗分了。
16:37 我曹T2好难。救命。
17:09 我甚至可能连48都拿不到……
17:19 我现在正在疯狂卡常数,把我的代码从27.5秒拯救到了1.09秒。可惜对于评测机而言,1.09秒和109年没有区别。
17:29 好的,关了个流,现在时间800ms。
17:31 目前预计148分。另外,我不太相信T4没有答案为0的点。总会有那么一个的。所以预计152分。放BJ能拿1=吗?
17:37 把T2改成了快读,优化了100ms。(忘了放上程序回收系统这种错误我是不会犯的)
18:01 他妈的。T3快读写炸了。永远不要在字符串题里写快读(你永远不会知道你的输入会读到什么字符)。老老实实关流吧。
18:14 我放弃了。写一个不知道对不对的T3部分分。结束吧。
18:20 不是哥们我真的能忘记取消注释freopen啊。
18:29 要不要打打麻将。🀇🀇🀇🀈🀉🀊🀋🀌🀍🀎🀏🀏🀏
18:30 收卷。预计100+48+30+4。也可能100+48+0+0。谁知道呢。
*/

省流:100+32+5+4=141100+32+5+4=141。糖丸了。

BJ-S01235

C++
T2:
   /*CSP-S you ji
    At 14:30 race start
    dan4 wo3 deng1 bu2 jin4 qu4 xi4 tong3(QwQ)
    kan le T1,zi ren wei neng zuo he T1 hao le liang ge ban xiao shi zhi guo le te shu yang li(yu ji 20pts)
    you zuo le T4 de te shu xing zhi (yu ji 20~32pts)
    fa xian T3 baoli neng 20pts,dan wo qu zuo le T2 de tanxin
    zui hou T2 zuo cuo le,mei shi jian zuo T3 baoli le,sui xie CSP-S youji
                                                                                          BJ-S01235 At18:14

    */
}//GoodBey OI ?

皇家翻译官:

CSP-S 游记在 14:30 比赛开始但我登不进去系统 QwQ看了 T1,自认为能做,和 T1 耗了两个半小时只过了特殊样例(预计 20 分)又做了 T4 的特殊性质(预计 20∼32 分)发现 T3 暴力能 20 分,但我去做了 T2 的贪心最后 T2 做错了,没时间做 T3暴力了,遂写 CSP-S 游记\color{black}\text{CSP-S 游记}\\ \text{在 14:30 比赛开始}\\ \text{但我登不进去系统 QwQ}\\ \text{看了 T1,自认为能做,和 T1 耗了两}\\ \text{个半小时只过了特殊样例(预计 20 分)}\\ \text{又做了 T4 的特殊性质(预计 20}\sim\text{32 分)}\\ \text{发现 T3 暴力能 20 分,但我去做了 T2 的贪心}\\ \text{最后 T2 做错了,没时间做 T3}\\ \text{暴力了,遂写 CSP-S 游记}\\

注:这个人的实际得分是 20+0+0+420+0+0+4。

BJ-S01237

求你了再写五毛钱的。

C++
T4:
/*
如梦令 - 三年OI一场空
常道热爱信竞,实则从未实践。
试问摸鱼日,却道正常学习。
知否,知否,应是保龄无收。

西江月 - CSP-S
机房电脑学生,冷风六点考完。
他人全道AK年,而我WA声一片。
七八分是骗来,两三题也不会。
常说明年再战,能有几个明年?

记CSP一日游
2025年11月1日早,欲去比CSP,无视景色,欣然起行。念从未复习过,遂至考场后深度思考。考试不等人,相与搏于电脑。题目如摧枯拉朽,干翻了我,盖我太废了。何年无CSP?何处无题?但少那个愿意学OI之我耳。
*/

BJ-S01288

还是游记和考场守则的大佬。

因为实在太长了所以放到云剪贴板中。

另外,他每道题都这样写了一大大段注释,只不过最后几行的内容不同。

BJ-S01333

C++
T1:
/*
huai ren de xue cai shi hei se de
wo men yong yuan wan zi qian hong
yi fang shui tu yang yi bang ren jing
lang fei le liang shi hai jia zhuang qing xing
*/

歌词大意:

坏人的血才是黑色的我们永远万紫千红一方水土养一帮人精浪费了粮食还假装清醒\color{black} 坏人的血才是黑色的\\ 我们永远万\color{purple}紫\color{black}千\color{red}红\\ \color{black}一方水土养一帮人精\\ 浪费了粮食还假装清醒\\
C++
T2:
/*
ru ci sheng huo san sh nian
zhi dao da sha beng ta
yun ceng shen chu de hei an na
yan mo xin di de jing guan
*/

歌词大意:

如此生活三十年直到大厦崩塌云层深处的黑暗啊淹没心底的景观\color{black}\text{如此生活三\color{green}十\color{black}年}\\ 直到大厦崩塌\\ 云层深处的黑暗啊\\ 淹没心底的景观\\

BJ-S01338

C++
T4:
/*
why string?
qwq I hate string
It's the third time I had get unpleasant score in the CSP-S
I think I had to AFO after this contest.
May be I can have a chance to get 1= and go to the NOIP?
the final score is 100+100+25+12=237.
I hope I can get 1= qwq.
one thing is good today is that I only use 30 to get all new 6 star in mrfz
the reason why I have died today is that I cost 1 hours for T2.
I had read the road3.ans when I was test road2.in   qwq
I have realized that I need to have the mid-term test in 2025.11.14
I still have to die on that day although I haven't die today.
qwq
I hate string.
I hope that the 1= line will little than 200
*/

这个人实际只得了 173173 分。但是今年的分数线 145145 更是一绝。

BJ-S01406

这里没有任何高低贵贱之分。AK 的人和保龄的人都可以写游记。

还有,你明明 165165 分拿一等了啊为啥说你不配写。你不配写的话我成什么了。

C++
/*
又是一年的CSP啊。

Day 1:

11:00 出去转转。

13:30 出发,14:00 到考场。考场在八十。头有点疼。看到了 gqy。据 lmh 说他在 30 号,但没看见他。哦好像看到了。

好害怕。不知道能打多少。rp++吧。

键盘没有十一学校的好用。写个对拍板子吧。还有 8 分钟开始。输入法有点唐。

打完比赛就要写好多好多作业了。就要认真的 whk 了。就要期中了。

还有 5 分钟。监考员在宣读规定,说成了 c,c,f NIO,有点意思。

好紧张。背水一战啊啊啊。四个小时后的我,记得查一下 freopen 写没写,样例一定要用 diff 查。rp++ to lmh gqy zhx 和我。

还有 2 分钟。更紧张了。

读了 T1 不像什么一眼题。完了。尽力吧。

15:10 了,才40分。T1正解好难。

15:28 AC T1 rp++

15:40 你说, 2e6 的数据能过 n log n吗? c,c,f 少爷机给点力好不好

15:52 这什么座位啊太阳直接射到眼睛里可还行.

16:04 T2好难调 抬头看了一眼时间 11.2 00:04 然后就想到了期中.炸我心态 期中我恨你

16:26 呜呜呜 T2 不会只写了 4/25=16分写法.

18:08 已经结束了.S1=没了. 100+24+20+8=152,我好菜啊.

18:11 这就是宿命吗 没有奇迹了吗 真的要滚去学whk了 真的要AFO了 初赛写过一次 复赛再写一次吧 不知道 c,c,f 今年会不会公开代码.

    明天你是否会想起,昨天没调完的题,明天你是否还惦记,考场写挂的暴力.集训队早已想不起,没能来雅礼的你.我也是偶然翻OJ,才想起退役的你.
    谁羡慕比赛AK的你,谁膜拜红名的你,谁看了你的生涯回忆,谁借走你的RP.
    你从前总是很小心,对拍后才肯交题.你也曾无意中说起,喜欢在深夜AC.那时候比赛总很难,Rating总涨得太慢.你总说退役遥遥无期,转眼就各奔东西.
    谁秒了你出的模拟题,谁骂着毒瘤的你.谁看了你的题解笔记,谁传给学妹学弟.
    同行的日子都远去.我们也终会退役.多年后谁会再想起,定格考场的记忆.
    谁记得你出的模拟题,谁忘记毒瘤的你.谁学会你的题解笔记,谁教会学妹学弟.

现在是 18:17,我要走了.彻底结束了.不想再争了.太累了.

这一年,又停止在第一步了.

考这个有什么意义啊.

今年的分数线会是多少呢?J组简单了,S组也是比以前简单了吧...为什么我感觉比去年难了啊.

应该得有 黄 绿 绿 紫.

好像比去年简单(?)

可是部分分不好拿吧...

c,c,f你怎么可以这样啊.

那期中对我好一点好不好

18:22 再查一遍 freopen 吧.
18:23 查完了

whk rp++

马上要过生日了

可是S挂了期中还没考我有什么心情去过生日啊.

18:26 把游记送给 T4 吧.

呵.交游记的时候看到了监考老师震惊的眼神.

不过游记是不是只有1=才配写啊.

我好像不配啊.
*/

BJ-S01473

C++
/*
AFO.
女,初一
Thanks for the courage given on the way.
Regret the days with you?
It's hard to renounce my study of programming.
I'll release all of my heart into school studying.
The goodbye will hurt when it's spoken.
There'll be enough sunlight after going through clowds, right?
We'll meet again at the peek of the mountains.
Go along your path with intrepid strength.
现在才找到转中文/kk,如卉宝宝加油/xin
*/

BJ-S01509

C++
T3:
// This is an essay written in the last 5 minutes
// I want to kill my self.
// I expect to get 176 or 181 points in this exam to get 1=
// But if I get 0 points in T1 or T2 I will AFO.
// I learned coding for 4 years, from Grade 5 to Grade 8, this is my forth time to attend CSP tests.
// My teacher and parents expected me to get NOIP 1= this year.
// And I just get 176 points in CSP-S??? Even less than 200? That's too ridiculous

BJ-S01560

C++
T3:
/* README
LOVEYOUXiXiFLOVEYOUXiXiFLOVEYOUXiXiF PLEASEGIVEMES1=
CSP-S you ji  --by luoguUID977777
16:48 t1 t2 can write de dou write le  maybe cnt = 73pts  very shao
      Now is try to write t4  t3 don't have si lu le qwq
      Dove eat end le  I want to eat some dong xi
      Jiankao teacher often sit behind me  so taoyan.
16:52 I think t2<t1
      T4 shuju is very small  but I can't write it QAQ
17:13 T4 shuju yes no yes ill? Why some naozi ill people qianmian have 0 people don't AC he also don't employ.
      I really fuqile. I can got 0pts on t4.
      Go dai t4.  I be afraid of XiXiF kadiao me.
17:23 Zzz. (jiade)
17:26 What dongxi boom le
17:41 Noooooo t4 baozhale yuji =0pts
17:49 XiXiF jingran is minganci hahaha
17:56 So tried  want to sleep
17:59 I'm so headache  ;w;
18:06 Water water t3  I think t3 can got 0pts. :)
18:10 I want to AFO ;w;
         _____________
        /             \     dad
       / _____________ \ me 'v'
______  |  __   __    |  -w-/ \
[home]  |  []  |  |   |  / V |
  ||    |      |  |   |   |  |
~~~~~---~~~~~--~~~~------~~~~~~~
*/

虽然但是,颜文字和字符画可爱捏。

BJ-S01628

C++
T4:
/*
Problem Est.
club    20pts
road    0-16pts
replace 0-20pts
employ  40pts
Tot. 60-96pts
Maybe second. First is realllllllllllllllllllllly hard. I want to ***k *c*.
Questions' hardness:
Yellow-Green, Green, Blue, Black/Purple.
*/

我必须浇一盆冷水。他没拿奖。

BJ-S01654

C++
T1:
/*
 * 啊啊今年S组好难第一题就不会
 * 先把头文件和freopen写出来吧
 * 『因果』『强运』一起上吧!!!!!!!!
 * 江若雪,云瑶,算我求你俩了!!!!!!!
 * 感觉AB都能打出来
 * 不管了先拿下A再说
 * B的话按A排序,然后一个一个选去A还是去B?
 * 6 7
 * 1 114514
 * 怎么办?
 * 或者按和排序?
 * 5 6
 * 1 9
 * 怎么办?
 * 要不按最大值排序?这个好像可以,感觉三个放一起都可以,先试试吧
 * 等会我先把他改成结构体
 * 爆炸爆炸
 * 4 0
 * 10 9
 * 他丫不行
 * 啊啊啊『因果』助我!!!!!
 * 先交上去再说,反正还有A
 * */

T2:
/*
 * 炸裂吧JT1+T2才打了30min,sT1打了2h还只能拿五分!!!!!!!
 * 不好,竟然是可恶的floyd!我们没救了!!!
 * 你说对于我这种连floyd都不会的人,给我一个特殊性质A,有意思吗???
 * 打个样例,剩下的直接rand
 * 云瑶救救我!!!!!!!!!
 * 铛~~我听到了『强运』的回响!
 *
 * 嘿嘿我又回来了
 * 实在太闲了还剩一个小时呢
 * 列一下人物--回响表吧(J组已经列过了)
 * 还是上txt里列吧
 * */

T3:
/*
 * 感觉这replace比T2还简单,至少可以骗分
 * 懒得打A了,直接看B
 * 将一个“特别的”字符串压缩为一个数tmp,表示b在其中的位置
 * 将一个“特别的”变换压缩为一个数x,表示b前移的格数
 * 则由tmp1->tmp2变为求一个数x,使得tmp2-tmp1=x;
 * 有这个x输出1,反之输出0
 * 怎么暴0了?
 * 铛~~我听到了『因果』的回响!
 * 江若雪:你要弄清楚其中的因果关系,因为你考前好好复习了,所以你这次考试会AK。
 * 铛~~我听到了『强运』的回响!
 * 云瑶:欸,口红弹回来了?
 * */

T4:
/*
 * 打个样例,剩下的直接rand吧,跟road一样
 * 云瑶救救我!!!!!!!!!
 * 铛~~我听到了『强运』的回响!
 * 代表甜甜求助你!
 * (甜甜:?????)
 * */

BJ-S01686

C++
T1:
//顶多5分
//-S还是不会阿
//脑子转爆了
//我写了什么啊
//存爆炸代码:回家搞八
//(一大段他爆炸了的代码)
//bye csp

T2:
//明年还能再见么?

T3:
cout<<1<<endl<<1<<endl;
//骗点分

T4:
//最后5分钟
//bye csp2025

BJ-S01710

代码
T2:
//I thought that CSP-S2025 won't be difficult,so I didn't review the map mod.
//But it's more difficult than the  years before(It's the most difficult year I've seen).
//All right, I just have 75 pts at least->I was so tired to get ready the exam in our junior high school.
//I will try again next year.Good luck and ++rp!---luogu__uid_823830,11.1.
//I love CFF!I AK IOI!(bushi

BJ-S01749

C++
T4:
/*"shaonianwenroudemeiyan,buzhishizaizhijingshuideguowang,yibuzhiyouhuipuxiechuzenyangdehuazhang."
    diyicissai,yekenengshizuihouyici,danwulunruhe,woxiangshuo,zuoweiyigebiaozhundewenkesheng,
    huoxiuxuejisuanjishiyijianhennanyirangrenlijiede`huibeipipanweilangfeishijiandeyijianshi,
    keshijieshangbenmeiyounameduodetiaotiaokuangkuang,bushima?
    wobuhouhuixueOI,yejuebufangqi!
    bujunianqi,weikongjuezhi,jiyizhishou,cishengbufu!
    zhijingmeifenchichengdereaihemeiyigehuaichuaizhefenreaidewomen
    RP++ jinyiciwen,jinianwoyinianduodeOIshengya
    huoxuwojijiangmianlinAFO,dan,nougeshunjian,womenhaihuizaijian
    bijing,yueliangyijiuxiaoyaoyuwuzhuzhiwai,gaoxuanyucangqiong,
    shiwo......zhuibushangtale.
    keshiwoyouqipan,wozhongjiangcongzhifengxiexiadeliuguangli,kuiwangrenjian.
    name,jiuqinganchaowomendeqidai,quzhengmingwomendeweilaiba,huijian,yehuizaijian!
    womenshuohaole......
    Fortune favors the bold.
    --2025.11.1 16:48 shisisulingsangeyuedediyitian
    jinyicipianxiangeiwo,hewoyinianyouyudeOIshengya,
    #include <iostream>
    using namespace std;
    int main()
    {
        cout<<"Hello world!";
        return 0;
    }*/

皇家翻译官:(绿色是原文拼音有误,红色是译者太废物了没翻译出来。)

少年温柔的meiyan,不只是在致敬谁的过往,亦不只有会谱写出怎样的华章。第一次 S 赛,也可能是最后一次,但无论如何,我想说,作为一个标准的文科生,或许学计算机是一件很难以让人理解的,会被批判为浪费时间的一件事,可世界上本没有那么多的条条框框,不是吗?我不后悔学 OI,也决不放弃!不惧nianqi,唯恐juezhi,记忆之手,此生不负!致敬每份赤诚的热爱和每一个怀揣这份热爱的我们RP++ 谨以此文,纪念我一年多的 OI 生涯或许我即将面临 AFO,但,nou个瞬间,我们还会再见毕竟,月亮依旧逍遥于wuzhu之外,高悬于苍穹,是我......追不上它了。可是我又期盼,我终将从指缝泄下的流光里,回望人间。那么,jiuqinganchaowomendeqidai,去证明我们的未来吧,回见,也会再见!译者注:这里的拼音似乎有点问题,我翻译出了两个版本。版本 1:就请赶超我们的期待版本 2:就请按照我们的期待我们说好了......勇敢者自有天助。–2025.11.1 16:48 十四岁零三个月的第一天谨以此篇献给我,和我一年有余的 OI 生涯,(正文完)\color{black}\text{少年温柔的\color{red}meiyan},不只是在致敬谁的过往,亦不只有会谱写出怎样的华章。\\ \text{第一次 S 赛,也可能是最后一次,但无论如何,我想说,作为一个标准的文科生,}\\ \text{或\color{green}许\color{black}学计算机是一件很难以让人理解的,会被批判为浪费时间的一件事,}\\ \text{可世界上本没有那么多的条条框框,不是吗?}\\ \text{我不后悔学 OI,也决不放弃!}\\ \text{不惧\color{red}nianqi\color{black},唯恐\color{red}juezhi\color{black},记忆之手,此生不负!}\\ \text{致敬每份赤诚的热爱和每一个怀揣这份热爱的我们}\\ \text{RP++ 谨以此文,纪念我一年多的 OI 生涯}\\ \text{或许我即将面临 AFO,但,\color{red}nou\color{black}个瞬间,我们还会再见}\\ \text{毕竟,月亮依旧逍遥于\color{red}wuzhu\color{black}之外,高悬于苍穹,}\\ \text{是我......追不上它了。}\\ \text{可是我又期盼,我终将从指缝泄下的流光里,\color{green}回\color{black}望人间。}\\ \text{那么,\color{green}jiuqinganchaowomendeqidai\color{black},去证明我们的未来吧,回见,也会再见!}\\ \text{\color{blue}译者注:这里的拼音似乎有点问题,我翻译出了两个版本。}\\ \text{\color{blue}版本 1:\color{black}就请\color{green}赶\color{black}超我们的期待}\\ \text{\color{blue}版本 2:\color{black}就请按\color{green}照\color{black}我们的期待}\\ \text{我们说好了......}\\ \text{勇敢者自有天助。}\\ \text{--2025.11.1 16:48 十四\color{green}岁\color{black}零三个月的第一天}\\ \text{谨以此篇献给我,和我一年有余的 OI 生涯,}\\ \text{(正文完)}\\

泪目。

BJ-S01779

代码
T3:
/*
那年全国赛后,我看见 Day2T2 字符串瘫在椅子上,后面不会背了

振兴字符串荣光,我辈义不容辞

写哈希吧,不然没法在 1.5h 内获得 300 分了。

本题不弱于二维偏序(构造 a...a+b+c...c -> a...a+d+c...c),无法做到线性。

O(L1+L2+(n+q)log(n+q))

懒死了,写了个 (n+q)logL1,影响不大。

样例:abcdx。

出题人深得小汤圆学精髓。

其实我 2h 时才通过本题。

加油喵!只剩 t4 了!
*/

T4:
/*
正难则反。

对被拒绝或自愿退出的人容斥即可,写出来即为二项式反演。

错了。

注意到删去一个死人可能会复活他后面一个死人。

没绷住,计算容斥系数时会回跳,完全做不了了。
*/

BJ-S01830

C++
T3:
//using nmaespacem sdt;
//int man()
//------------------------------------------
//qiu shang luo gu qwq
//My luogu uid is:1302857(I am not sure), name is MAX007_CRN
//My yuanshen uid is:********** yuanshen really fun!
//My eggy party name is:fukongcp(fukong is Chinese, cp is English)
//I also play National MC jiyanban,you can luogu talk about with me
//I think I can get 0~114514 pts why cspjchusaimeiguo???????
//Grade 7 Chinese 77.5pts, Math 93pts, English 87pts haiyoujium?
//wobuxinglehaoduoyingwenbuhuida
//--------------------------------------------------
/*zhe yi lv shang zou zou ting ting
  shun zhe shao nian piao liu d hen ji
  mai chu che zhan d qian yi ke jing you xie you yu
  bu jin xiao zhe jin xiang qing qie reng wu fa bi mian
  er chang ye d tian yi jiu zhe mo nuan feng chui qi l cong qian
  cong qian chu shi zhe shi jian wan ban liu lian
  kan zhe tian bian si zai yan qian
  ye gan yuan fu tang dao huo qu zou ta yi bian
  ru jin zou guo zhe shi jian wan ban liu lian
  lian zhe tian bian si zai yan qian
  cu bu ji fang chuang ru ni d xiao yan
  wo ceng nan zi ba yu shi jie zhi da
  ye chen mi yu qi zhong meng hua
  bu de zhen jia bu zuo zheng zha bu ju xiao hua
  wo ceng jiang qing chun fan yong cheng ta
  ......End(No time)

*/
int main() {
    freopen("replace.in", "r", stdin);
    freopen("replace.out", "w", stdout);
    //feropen("road.out", "w",stdin);
    //feropen("repalce.out",stdout);

    return 114514;
}
//why CCF is mingan word?
//*uc* you neiger CCF

皇家翻译官:

求上洛谷 qwq我的洛谷 UID 是 1302857(我不确定),名字是 MAX007_CRN我的原神 UID 是 *********,原神启动!我的蛋仔派对名字是 fukongcp(fukong 是中文,cp 是英文)我也玩冈易 MC,你可以在洛谷上和我聊我认为我可以得 0∼114514 分为啥我 CSP-J 初赛没过???????七年级期中考试 77.5+93+87 还有救吗?我不行了好多英文不会打\color{black}\text{求上洛谷 qwq}\\ \text{我的洛谷 UID 是 1302857(我不确定),名字是 MAX007\_CRN}\\ \text{我的原神 UID 是 *********,原神启动!}\\ \text{我的蛋仔派对名字是 \color{red}fukong\color{black}cp(fukong 是中文,cp 是英文)}\\ \text{我也玩冈易 MC,你可以在洛谷上和我聊}\\ \text{我认为我可以得 0}\sim\text{114514 分为啥我 CSP-J 初赛没过???????}\\ \text{七年级期中考试 }77.5+93+87\text{ 还有救\color{green}吗\color{black}?}\\ \text{我不行了好多英文不会打}\\

歌词大意:

这一路上走走停停顺着少年漂流的痕迹迈出车站的前一刻竟有些犹豫不禁笑这近乡情怯仍无法避免而长野的天依旧那么暖风吹起了从前从前初识这世间万般流连看着天边似在眼前也甘愿赴汤蹈火去走它一遍如今走过这世间万般流连翻过岁月不同侧脸措不及防闯入你的笑颜我曾难自拔于世界之大也沉溺于其中梦话不得真假不做挣扎不惧笑话我曾将青春翻涌成她\color{black} 这一路上走走停停\\ 顺着少年漂流的痕迹\\ 迈出车站的前一刻\\ 竟有些犹豫\\ 不禁笑这近乡情怯\\ 仍无法避免\\ 而长野的天\\ 依旧那么暖\\ 风吹起了从前\\ 从前初识这世间\\ 万般流连\\ 看着天边似在眼前\\ 也甘愿赴汤蹈火去走它一遍\\ 如今走过这世间\\ 万般流连\\ 翻过岁月不同侧脸\\ 措不及防闯入你的笑颜\\ 我曾难自拔于世界之大\\ 也沉溺于其中梦话\\ 不得真假不做挣扎不惧笑话\\ 我曾将青春翻涌成她\\

笑点解析:我一开始并不知道这是歌词。直到我的同学告诉我我才知道这是个歌词。

BJ-S01849

代码
T4:
/*
游记

写完题没事干了,不敢对拍,这个机子感觉一拍就死了

刚入场看到虚拟机+2cpu+3.8G 内存就笑嘻了,感觉 vsc 和 firefox 同时开就炸了,所以一直在轮流切换

开始之后把四个题都读一遍

T1 好像是直接用 pq 记录一下

T2 只保留原图 mst 上的边之后直接 2^k*k*n 就行

T3 好像是哈希一下然后两个 trie 上都要是祖先关系于是转二维偏序

T4 看起来是可以做的

T1 对的原因其实主要是 n 是偶数,于是如果有一个超的就直接把它里面能变化的全都调开,剩下的位置一定都合法

T2 就是因为如果在原图里就不会加入这条边说明肯定没用,这样只有 O(n) 条边,于是直接枚举使用的乡镇集合

T3 直接把所有不同位置的 min 和 max 整个区间求出来,于是把串划分为 A,B1,B2,C 几部分,那么两对串有贡献当且仅当 B1=B1,B2=B2,A 和 C 分别是后缀和前缀,于是对中间哈希之后往两边各开一个 Trie,确定出祖先关系之后跑二维偏
序就是对的

T4 最开始把题读成前面有 ci 个被拒绝的人他就放弃了,然后心想这不是随便容斥都是平方的吗,写完发现样例 2 死活过不去,才发现读错题了

于是重新思考了一下对的题意,发现题目可以转化为确定 c 之后 i 从 1 扫到 n,中间维护一个变量 cur,如果 si=0 或者 ci<=cur 那么 cur+1,问有多少种方式使得 cur<=n-m

显然这个东西只能按照顺序从前往后 dp,每次填写 <=cur 或 >cur 的数,但是 cur 变化的时候 >cur 的数不好处理,于是使用 CF1842G 的套路(服了马大预言家),在 cur 变化的时候再考虑前面放了几个 cur

那所以直接记 f[i][j][k] 表示前 i 项,目前 cur=j,ci>cur 的用了 k 个的排列数量,转移的时候分讨 si,在 cur 增加的时候枚举前面使用多少个 cur+1,注意 si=0 且放一个 cur+1 的时候系数不太一样

看起来是四次方的,但是你仔细想一下发现 x 的枚举范围是 cnt[j+1],那所以所有 j 加起来 x 的枚举范围其实是 O(n) 的,于是就 O(n^3) 做完了

还有 1h 结束,what should i do
*/

BJ-S01991

也算作是游记。

T1T2T3
T4


决斗评测机

BJ-S01189

这下知道为什么他的代码里有几百个 #include 了。

他把他的代码复制了上百遍。

评测机:wtf 这就报个 CE 给他。

过了一会

评测机:六六六这个入是桂他往我的运行日志里塞了几千行东西。

BJ-S01516

评测机:家人们,这个人让我在每次循环里 memset 一个一亿大小的数组,家人们觉得我还能活下来吗。

C++
T2:
...
int cg[10001][10001]={},ans=0,ans1=999999999;
...
int main(){
    ...
    for(int d=0;d<=k;d++){
        ans=c[d][0];
        while(!check()){
            ...
        }
        memset(cg,0,sizeof(cg));
        ans1=min(ans,ans1);
    }
...
}

BJ-S01525

评测机:我懂,还是靠 1010 层循环干爆我呗。

你第四题写这么高深差点吓哭我。

BJ-S01596

这究竟是在?

BJ-S01632

和上面 15251525,以及前面那一大堆写了十层循环的人坐一桌。

另外,这个人的这段代码非常具有划时代意义,具体见倒数第三个有意义的行。

int f[0,a,b,c,d,e,f,g,h,i,j,k];

BJ-S01655/BJ-S01658

好吧,不得不承认,十层循环似乎是非常普遍的。不光第 44 题写,第 11 题也写。

(右:16551655,左:16581658)

BJ-S01726

核弹级选手。评测机:救命我搞了 2622^{62} 个野指针。

C++
T2,T3,T4:
#include <bits/stdc++.h>
using namespace std;
const int BAD_ALLOC = 2147483647;
int main() {
        for (int i = 1; i <= BAD_ALLOC; i++) {
        auto a = new int[BAD_ALLOC];
        a[BAD_ALLOC-1] = 0;
        }
}

BJ-S01729

古希腊掌管 cmp 的神。4848 个 cmp 竟然不重样还都有用。

C++
T1:
bool cmp(node a,node b){
    if(a.m1 != b.m1)
        return a.m1 > b.m1;
    if(a.m2 != b.m2)
        return a.m2 > b.m2;
    return a.m3 > b.m3;
}
bool cmp2(node a,node b){
    if(a.m1 != b.m1)
        return a.m1 > b.m1;
    if(a.m2 != b.m2)
        return a.m2 > b.m2;
    return a.m3 < b.m3;
}
bool cmp3(node a,node b){
    if(a.m1 != b.m1)
        return a.m1 > b.m1;
    if(a.m2 != b.m2)
        return a.m2 < b.m2;
    return a.m3 > b.m3;
}
bool cmp4(node a,node b){
    if(a.m1 != b.m1)
        return a.m1 > b.m1;
    if(a.m2 != b.m2)
        return a.m2 < b.m2;
    return a.m3 < b.m3;
}
bool cmp5(node a,node b){
    if(a.m1 != b.m1)
        return a.m1 < b.m1;
    if(a.m2 != b.m2)
        return a.m2 > b.m2;
    return a.m3 > b.m3;
}
(省略很多的cmp...)

完整版过长,放在此处。请输入文本。

BJ-S01746

内存释怀地死了。

C++
T2:
int l[1000010][3];
int x[10010][1000000];

BJ-S01747

1111111111111111111111。

代码
T2:
printf("1111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111...(省略97.7KB的1)

BJ-S01774

把自己T2的代码复制几百遍是骗不到分数的。

BJ-S01795

cmp 仙人×2{}\times2,可惜只有 1212 个。

BJ-S01835

内存炸弹。

C++
T2:
int u[1000001];
int v[1000001];
int w[1000001];
int a[1000001][1000001];
//int b[1000001];
int main(){
    freopen("road.in","r",stdin);
    freopen("road.out","w",stdout);

BJ-S01876

int 型变量 s:救命。

代码
T4:
if(m==100&&n==47&&s==1111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111){
        cout<<"161088479";
    }
    if(m==500&&n==1&&s==11011011010101111100111111111011100011011100111111111011110111100111111011111101001111010001110111011111110101010110100101011100101110101110111011101110110011110011111011010110100010011000111010011110101000101101101111111111101010101110111101101101111110111101110010000011111101111010010110011101011010110000010001111110101110101011011111101001111111101011010101110001111111101111101110111011101101100010100100001011111110110111001010010001011111000110001110100010111100110101001011011110010110111111
){
        cout<<"515058943";
    }
    if(m==500&&n==12&&s==00011000000000000101010000000001000000000000010000010000000000000100100000000100000000000010000000100000000000000000000000000000001000000000000000100000000000000000000000000000000010000000000000000000000000000000000000000100000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
){

BJ-S01943

朋友,你知道你在主函数里定义了一个多么巨大的数组吗。

而你不止如此,你还在主函数里对它进行赋值。bro 生成的可执行文件有 4×10104\times10^{10} 个语句都在赋值。

C++
T2:
int main()
{
    freopen("road.in","r",stdin);
    freopen("road.in","w",stdout);
    int n,m,k;
    cin>>n>>m>>k;
    int c[1e4+5][1e6+5],a[15][1e4+5];

T3:
int main()
{
    int n,q,sum=0;
    freopen("replace.in","r",stdin);
    freopen("replace.out","w",stdout);
    cin>>n>>q;
    for(int i=1;i<=n;i++)
    {
        cin>>s[i].s1>>s[i].s2;
    }
    for(int i=1;i<=q;i++)
    {
        cin>>t[i].s1>>t[i].s2;
    }
    for(int i=1;i<=q;i++)
    {
        int l[2e5+5][2e5+5]={0};

而且细细一琢磨,你这写的也不对啊。二维数组怎么赋值的跟个一维数组一样。应该是 int l[2e5+5][2e5+5]={{0}};。

发生了什么?

数组的花括号赋值法,本质上是对所有值进行赋值。

例如,你写 int a[100]={4,2},其本质上是

C++
int a[100];
a[0]=4;
a[1]=2;
a[2]=0;
a[3]=0;
(省略 96 行)

而你写 int a[2e5][2e5]={{4,2}},其本质上是

C++
int a[2e5][2e5];
a[0][0]=4;
a[0][1]=2;
a[0][2]=0;
a[0][3]=0;
(省略 39999999996 行)

如果你真的有类似需求,可以写

C++
int a[2e5][2e5];
a[0][0]=4;
a[0][1]=2;

像类似 int a[2e5][2e5] 这样的写法,并不会导致编译器进行 4×10104\times10^{10} 次赋值。

BJ-S01955

习惯了。我真的习惯了,这种又粗又长的代码已经充溢着整个 BJ-Senior 文件夹。

BJ-S01994

C++
T3:
char s[200005][2][5000005],t[2][5000005],tb[5000005];

错字受

BJ-S01321

C++
freopen("roud.in","r",stdin);
freopen("roud.out","w",stdout);

BJ-S01633

C++
freopen("exploy.in","r",stdin);
freopen("exploy.out","w",stdout);

BJ-S01885

逆行人生。

C++
T1,T2,T4:
#include<bits\stdc++.h>

笑点解析:这个写法是能过编的,但是平时没人这么写。


小小字段

BJ-S01XXX

C++
T3:
cout<<"cash collect foundation you have no egg!!!!!";

我并不知道为什么要在信竞比赛里提到一个毫无关联的协会。

BJ-S01027

请人保佑自己正解(T1~T3)/暴力(T4)别挂。

然而事实是,他的总得分是 100+90+30+20=240100+90+30+20=240。

C++
T1,T2,T3:
//LMY bao you wo zheng jie bie gua!!!~~~

T4:
//LMY bao you bao li bie gua!!!~~~

BJ-S01036

会赢吗?会赢的!

100+100+100+80=380100+100+100+80=380。恭喜。

C++
T4:
//好想去 WC,好想与大家在一起,好想去 WC 唱歌……
//为了在这个可能是最后的,或许本来就并不应该存在的赛季,不留遗憾,
//会赢吗?

BJ-S01039

我不知道这是什么意思。这三个单词我只知道第一个。但是他在每个代码的主函数里都加了个这个。我不知道这是什么意思。

C++
// Cogito ergo sum

BJ-S01072

在代码里许愿,结果只拿了 8686 分。

C++
T4:
// GOLD please

BJ-S01091

那个,如果发现大样例和自己的想法有出入,建议先找找自己的问题。如果真的是 CCF 的问题的话,CCF 肯定会说的。 如果真的有问题且他没说,那就掏出德国粘性手榴弹呼肚子的脸上。

C++
T2:
// 不是这道题大洋力是错了吗?????????????
// 为啥都是这么大的数却只输出几亿

BJ-S01110

还有 AK 梦男。

C++
T4:
//I am donk , I am handsome and ak is my favourite gun.

BJ-S01135

只有 1010 分。惨。

C++
/*
 CCCCCCC   SSSSSS   PPPPPPP          SSSSSS
C         S         P      P        S
C         S         P      P        S
C          SSSSSS   PPPPPPP   ----   SSSSSS
C                S  P                      S
C                S  P                      S
 CCCCCCC   SSSSSS   P                SSSSSS
*/

// Everything is gone......I only have 10pts......

BJ-S01147

It’s MYGO!!!

C++
T2:
constexpr auto Anon = 0x0908, Soyo = 0x0527, Tomori = 0x1122, Taki = 0x0809, Rana = 0x0222;
return Anon & Soyo & Tomori & Taki & Rana;

BJ-S01195

没关系的,大部分人都不会写 MST。我在考场上甚至把 dijkstra 忘记了。

但是冷知识,他的代码在洛谷上保龄了。

C++
/*
看得出来是 MST,但是特殊性质真不会写了,只能码一个 Kruskal 板子拿部分分
码了个 1.5KB 的史山
期望得分:48
完成时间:1h
*/

BJ-S01223

我会赢吗?

C++
// Will I win? - 14:22

他赢了。380380 分。恭喜。

BJ-S01260

我是战雷玩家。这是个好游戏。不用氪金。金钱不流失,不蒸发,零浪费!

你好 CCF,我是个**!

C++
T3:
    else
    {
        cout << "JOIN OUR WARTHUNDER TEAM [RDFZ]" << endl;
        cout << "HAPPY GAME DONT NEED MONEY" << endl;
        cout << "DONT GET MONEY TO GAME ,START FROM MYSELF" <<endl;
        cout << "TK-X IS THE BEST MBT IN THIS GAME ,IT IS FROM JAPAN" << endl;
    }
    return 0;
}
/*
USA:
m5a1
m24
m18
m41a1
t92
...(进行武器装备的罗列)
*/

T4:
    else
    {
        cout << "HELLO C_C_F" << endl;
        cout << "I AM IDIOT" << endl;
    }

BJ-S01274

明广,建议禁赛三年。

于第 xx 题(2≤x≤42\le x\le4)的代码里写了 xx 遍 (x+3)×13(x+3)\times 13。

BJ-S01312

真诚才是必杀技。可惜因为你是在注释里写的所以评测机感受不到你的真诚。

哈哈哈!

C++
T1,T4:
//I love CC F! Can you give me 100 pts?

T3:
while(1){cout<<"hahaha";}

BJ-S01316

你吵到我眼睛了。

这是他的个人主页。

BJ-S01319

可能指的是代码运行了 1179.3641179.364 秒。如果真是这样,那么恭喜。

C++
freopen("replace.out","w",stdout);//1179.364s

BJ-S01349

渴望神明保佑的人。

C++
T4:
//may god bless and help me.

BJ-S01361

正在抱怨 T2 难度中。

C++
T2:
//为什么这次这么难
//T2怎么考到图论了 完全不会阿
//按照前两年的惯例 T2不应该考图论的
//还有t2前四个点感觉背了模板就能过 可惜我没背
//预计能得100+0+0+12=112pts
#include<bits/stdc++.h>
using namespace std;
int main(){
    unsigned long long rp;
    while(1) rp++;
    return 0;
}

他只得了 7373 分。

BJ-S01376

同样渴望神明保佑的人。

C++
//多给点分吧。。。
//求求了orz

BJ-S01409

自己开盒自己并不算少见。

C++
/*
CSP-S 2025 RP+=1e20
mengleo 872662
2025.10.30.
*/

BJ-S01422

我想到一个绝妙的解决办法,可惜时间太少了我写不下。

C++
T3:
//thought of the solution, but there is no time.(ps: don't know how to switch to chinese)

BJ-S01426

开。

在每道题的代码结尾默写追忆。有这个毅力做什么都会成功的。

C++
if(debug){
    cout<<"我常常追忆过去。\n";
    cout<<"生命瞬间定格在脑海。我将背后的时间裁剪、折叠、蜷曲,揉捻成天上朵朵白云。\n";
    cout<<"云朵之间亦有分别:积云厚重,而卷云飘渺。生命里震撼的场景掠过我的思绪便一生无法忘怀,而更为普通平常的记忆在时间的冲刷下只留下些许残骸。";
    cout<<"追忆宛如入梦,太过清楚则无法愉悦自己的幻想,过分模糊却又坠入虚无。只有薄雾间的山水,面纱下的好,那恰到好处的朦胧,才能满足我对美的苛求。\n";
    cout<<"追忆总在不经意间将我裹进泛黄的纸页里。分别又重聚的朋友,推倒又重建的街道,种种线索协助着我从一个具体的时刻出发沿时间的河逆流而上。";
    cout<<"曾经的日子无法重来,我只不过是一个过客。但我仍然渴望在每一次追忆之旅中留下闲暇时间,在一个场景前驻足,在岁月的朦胧里瞭望过去的自己,感受尽可能多的甜蜜。";
    cout<<"美好的时光曾流过我的身体,我便心满意足。\n";
    cout<<"过去已经凝固,我带着回忆向前,只是时常疏于保管,回忆也在改变着各自的形态。这给我的追忆旅程带来些许挑战。\n";
    cout<<"我该在哪里停留?我问我自己。\n";
}

BJ-S01433

我药丸三角洲!

C++
T1,T3,T4:
// i want to play delta force!

BJ-S01442

嘿嘿嘿。

C++
T2:
heiehiehi

T4:
heiheiehi

(以上是代码全部原文)

BJ-S01460

太难了。

C++
T3:
//too hard T_T

BJ-S01468

C++
T4:
🎅👄🎒🏄👑

对这 55 个字符一一解释:

  1. 🎅(U+1F385\text{U+1F385}):圣诞老人的表情符号。
  2. 👄(U+1F444\text{U+1F444}):嘴巴的表情符号。
  3. 🎒(U+1F392\text{U+1F392}):书包的表情符号。
  4. 🏄(U+1F3C4\text{U+1F3C4}):冲浪的表情符号。在我的电脑上,这是这五个字符里唯一正常显示的一个。
  5. 👑(U+1F451\text{U+1F451}):皇冠的表情符号。

BJ-S01480

大便。

C++
T1,T2,T3:
int main() {
    //Oh, shit!

BJ-S01486

因为自己写了个唐代码而痛骂自己。

C++
T1:
//最优次优判断,唐四了

BJ-S01495

AKIOI。

C++
#include<bits/stdc++.h>
using namespace std;
string s[200011],s1[200011],st[200011],st1[200011];
int main()
{
    freopen("replace.in","r",stdin);
    freopen("replace.out","w",stdout);
    ios::sync_with_stdio(0);cin.tie(0);cout.tie(0);
    cout<<0;
    return 0;
}
/*
样例A类
54 1
AK IOI
AK IOI
AK IOI
(省略几十行)
AK IOI
AK IOI
CSPS AKME
IAKIOI IOIAKME
ILOVEAK ILOVEIOI
*/

BJ-S01512

我不会啊!普利姆咋写!

C++
T2:
void prim(){
	cout<<"I don't konw!!!";
}

BJ-S01529

C++
T3:
/*
Do you hear the people sing
Singing the song of angry men
It is the music of a people
Who will not be slaves again
When the beating of your heart
Echoes the beating of the drums
There is a life about to start
When tomorrow comes

(因为太长于是只放了一段,后面还有)
*/

歌词大意。

笑点解析:我只找到了 B 站链接。

BJ-S01570

复活吧我的决斗!

C++
T1:
freopen("club.out","w",stdout);//give me my juedou i can't do this one no no no!!!

BJ-S01575

第 44 题太简单了。

C++
T4:
//很显然的漏想情况了,我说第四题怎么能这么简单

BJ-S01609

C++
T1,T2,T3
/*

进食后入:
十年oi一场空,不开longlong见祖宗!
关于spfa,他死了

*/

BJ-S01610

C++
T2:
//orzorz114514

BJ-S01628

C++
T2:
// Sooooooooooo[为了防止吵到你眼睛]o hard! I just want to give up.

BJ-S01714

清澈的爱只为CCF。T4 点明主旨。

代码
T2:
freopen("road.in","r",stdin);
freopen("road.out","w",stdout);
cout << "  /-----------    /-----------  --------------" << endl;
cout << " /               /              |             " << endl;
cout << "/               /               |             " << endl;
cout << "|               |               |             " << endl;
cout << "|               |               |             " << endl;
cout << "|               |               |             " << endl;
cout << "|               |               |-------------" << endl;
cout << "|               |               |             " << endl;
cout << "|               |               |             " << endl;
cout << "|               |               |             " << endl;
cout << "|               |               |             " << endl;
cout << "\\               \\               |             " << endl;
cout << " \\               \\              |             " << endl;
cout << "  \\-----------    \\-----------  |             " << endl;
cout << "  /--------\\      /--------\\      /--------\\    |--------\\  " << endl;
cout << " /          \\    /          \\    /          \\   |         \\ " << endl;
cout << "/            \\  /            \\  /            \\  |          \\" << endl;
cout << "|               |            |  |            |  |          |" << endl;
cout << "|               |            |  |            |  |          |" << endl;
cout << "|               |            |  |            |  |          |" << endl;
cout << "|               |            |  |            |  |          |" << endl;
cout << "|               |            |  |            |  |          |" << endl;
cout << "|      ------|  |            |  |            |  |          |" << endl;
cout << "|            |  |            |  |            |  |          |" << endl;
cout << "|            |  |            |  |            |  |          |" << endl;
cout << "\\            |  \\            /  \\            /  |          /" << endl;
cout << " \\          /|   \\          /    \\          /   |         / " << endl;
cout << "  \\--------/ |    \\--------/      \\--------/    |--------/  " << endl;

T4:
S组你咋这么难啊!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

BJ-S01862

还有双拼注释。

笑点解析:我拿小鹤双拼来对照结果发现解码出了 hin 这种拼音。

C++
T3:
int m = t1.size(), l = 1, r = m, u1 = 0, u2 = 0; // cs qm wh hb / cs hb wh qm di yi ge bu pi pz wz vi

BJ-S01901

我不要上文化课!

代码
T4:
/*
我不要上文化课!
我不要上文化课!
我不要上文化课!
我不要上文化课!
我不要上文化课!
我不要上文化课!
我不要上文化课!
我不要上文化课!
我不要上文化课!
我不要上文化课!
我不要上文化课!
我不要上文化课!
我不要上文化课!
我不要上文化课!
我不要上文化课!
*/

BJ-S01919

氧化钙仙人。

C++
T1:
int CAO;

BJ-S01958

C++
T2:
//我应该是高一里面最菜的了,T1都没做出来呵呵,T2暴力都不会写,希望给我点面子让我拿个一等吧。。。
//freopen //freopen//freopen

这位同学并没有拿到一等。

BJ-S01976

默写大佬。

C++
T3:
/*
海客谈嬴洲,烟涛微茫信难求,越人语天姥,云霞明灭或可睹,天姥连天向天横,势拔五岳掩赤城,天台四万八千丈,对此欲倒东南倾。
我欲因之梦吴越,一夜飞度镜湖月,湖月照我影,送我至剡溪。谢宿公处今尚在,渌水荡漾清猿啼,脚着谢公鸡,身登青云梯,半壁见海日,空中闻天鸡,千岩万转路不定。
打字法太难用。。。
mihuayishihuyimingxiongpaolongyinyinyanqaun,lishenlinxijingcengdian,yunqingqingxiyuyu,shuidandanxishengyan,liequepili,qiuruanbengcui,dongtianshifei,hongranzhongkai,qingminghaodangbujiandi,riyuezhaoyaojinyintai,
niweiyixifengweima,yunzhijunxifenfenerlaixia,hugusexiruanhuiche,xianzhirenxilieruma,huhunjiyipodong,huangjingqiwerchangjie,weijiaoshizhizhenxi,shixianglaizhiyanxia
shijianxingleyiruci,gulaiwanshidongliushui,biejunquxiheshihuan,qiefangbailuqingyajian,xuxingjiqifangmingshan,annengcuimeizheyaoshiquangui,shiwobudekaixinyan.
*/

皇家翻译官:自己看吧朋友们。我实在是想要摆烂了。

BJ-S01981

坏了这个好像是真心喜欢 CCF 的。

C++
T4:
cout<<2;//ccf我们喜欢你! 能不能给我个J组一等奖qwq  虽然但是,举办比赛真的辛苦啦!! 谢谢你给我提供比赛的平台!!

文件读写事故

BJ-S01031

完全忘记 freopen 最后遗憾离场。

C++
T1:
//freopen("club5.in","r",stdin);
//freopen("club5.out","w",stdout);

T2:
//freopen("road2.in","r",stdin);
//freopen("road2.out","w",stdout);

T4:
//freopen("employ2.in","r",stdin);
//freopen("employ2.out","w",stdout);

BJ-S01110

值得注意的是,他的 T1 本身没有加上大样例,是正常的。

C++
T2,T3,T4:
freopen("club4.in","r",stdin);
freopen("club.out","w",stdout);

BJ-S01251

bro 忘记了函数的参数需要逗号分隔。

C++
freopen("*.in""s"stdin);
freopen("*.out""w"stdout);

BJ-S01315

冷知识:他的 T2 的 freopen 写对了。我们不理解为什么他其他几道题没写对。

C++
T1,T3,T4:
freopen("*.in","r",stdin);
freopen("*.out","r",stdout);

BJ-S01354

他的 freopen 写法 be like:

C++
#include <bits/stdc++.h>
using namespace std;
freopen(*.in,r,stdin);
freopen(*.out,w,stdin);
...
int main(){
...
}
fclose(*.in,r,stdout);
fclose(*.out,w,stdout);

别吵我在烧烤。

BJ-S01398

C++
T2,T3,T4:
freopen("*.in","s",stdin);
freopen("*.out","w",stdout);

你又不是不会写正确的 freopen(T1 写的挺对的啊),为啥非得整个活呢。

BJ-S01400

C++
T4:
freopen("employ3.in","r",stdin);
freopen("employ3.out","w",stdout);

BJ-S01466

四道题共写出 00 个 freopen。

BJ-S01474

C++
//freopen("employ.in","r",stdin);
//freopen("employ.out","r",stdout);

BJ-S01511

C++
freopen("replace1.in", "r", stdin);
freopen("replace.out", "w", stdout);

BJ-S01575

C++
freopen("replace2.in","r",stdin);
freopen("replace.out","w",stdout);

BJ-S01625

C++
freopen("replace2.in","r",stdin);
freopen("replace.out","w",stdout);

BJ-S01646

C++
T1,T2,T3,T4:
freopen("*1.in","r",stdin);
freopen("*.out","w",stdout);

BJ-S01735

神秘 freopen。

代码
T1:
freopen("club.in","r"stdin);
freopen("club.out","w"stdout);

T4:
freopen("employ.in","r"stdin);
freopen("employ.out","w"stdout)

BJ-S01746

freopen 表示神本无相。

代码
T1:
space('in',"club.in");
space('out',"club.out");

T2:
space('in',"road.in");
space('out',"road.out");

T3:
space('in',"replace.in");
space('out',"replace.out");

T4:
spacein('in',"employ.in");
outsite('out',"employ.out");

BJ-S01822

C++
freopen("employ3.in","r",stdin);
freopen("employ3.out","w",stdout);

BJ-S01908

代码
freopen("*.in",r,stdin);
freopen("*.out",w,stdout);

BJ-S01925/BJ-S01936

88 个代码共计 00 个 freopen。

BJ-S01946

C++
freopen("replace1.in","r",stdin);
freopen("replace.out","w",stdout);

BJ-S01956

哥们,你都 return 0 了,再 fclose 还有任何意义吗。

C++
    return 0;
    fclose(stdin);
    fclose(stdout);
}

BJ-S01987

C++
freopen("employ2.in","r",stdin);
freopen("employ.out","w",stdout);

BJ-S01998

C++
freopen("club.in","r",stdin);
freopen("culb.out","w",stdout);

这里有一个特别特别好笑的事情。返回上半部分并阅读 BJ-S00175。

你会发现,175175 号选手在自己的代码里诈骗了一个 culb.ans。

当时我吐槽不会有人在这里做错的。

我错了。

BJ-S02012

C++
freopen("employ.in","r",stdin);
freoen("employ.out","w",stdout);

另外,20122012 号选手是 BJ 地区的最后一名选手。


其它

BJ-S01079

C++
T2,T3,T4:
#

(以上是这三题的全部代码)

BJ-S01186

看得出来很希望自己 RP++ 了。

但问题是,你还是保龄了啊。

BJ-S01324

凭空变出来一个右花括号吓死评测机。

C++
T2:
#include <bits/stdc++.h>
#include <iostream>
using namespace std;
int a[100005], b[100005], c[100005];
int aans[100005];
int main()
{



}
    return 0;
}

另外,以上是代码的全部原文。main 函数里真的只有三个空行。

BJ-S01418

新手特有的数组开变量大小。

C++
int n,q,xz2=1;
scanf("%d %d",&n,&q);
long long ans[q]={};
string s1[n]={},s2[n]={},t1[q]={},t2[q]={};
for 不懂的人

数组的大小是在编译时确定的。在编译时,由于你的 n 和 q 没有值,所以你的数组大小也是不确定的(通常是 00。)我想说的是,永远不要这样写。你可以写 const int N=114514;int a[N];,但是请不要像上方那样写。

BJ-S01557

哥们并没有真正的理解特性 A 的含义。

特性 A 的含义是,每个乡村有一个在 00 花费,而不是全部 00 花费。

C++
T2:
 //特殊性质a把所有乡村全连上不就0cost了?样例真的对吗

BJ-S01558

C++
T1:
/*

3
9
27
81
243
829
2487
7461
22383
66846
200538
601614
后略
*/

T2:
#define shenmenitianti srand
#define wohenni time
#define wanedekaoshizhemenan rand

T3:
#define powanyi srand
#define buchu time
#define youhavenoeggs rand

我说真的,看见这个似乎在计算 33 的次幂的式子,我的大脑萎缩了一下。从 829829 开始就释然了。他的电脑上似乎没有计算器。

然后后面的题不会做还要赖一下考试太难。建议学一下骗分技巧。

BJ-S01618

首先编号不错(ϕ=5+12\phi=\dfrac{\sqrt{5}+1}{2})。其次评测机狠狠跳过。

BJ-S01753

拜谢糖豆之神。\bx

代码
T1,T2,T3,T4:
/*
 ____
/    \  This is a sugar bean.
\____/  Sugar bean don't judge your flaws.
May the God of Sugar Bean bless all OIers!
*/

BJ-S01846

字母表仙人。神秘 cin>>endl。

C++
T1:
#include <bits/stdc++.h>
using namespace()
int main()
{
    freopen("club.in","r",std)
    freopen("club.out","w",std)
    int n,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,ab,cd,ef,gh,ij,kl,mn;
    cin>>a>>endl;
    cin>>n>>endl;
    cin>>b>>c>>d>>endl;
    cin>>e>>f>>g>>endl;
    cin>>h>>i>>j>>endl;
    cin>>k>>l>>m>>endl;
    cin>>n>>endl;
    cin>>o>>p>>q>>endl;
    cin>>r>>s>>t>>endl;
    cin>>u>>v>>w>>endl;
    cin>>x>>y>>z>>endl;
    cin>>ab>>endl;
    cin>>cd>>ef>>gh>>endl;
    cin>>ij>>kl>>mn>>endl;
    if(a=3)
    {
        cout<<18<<endl;
        cout<<4<<endl;
        cout<<13<<endl;
    }
    if(a!=3)
    {
    int n,a,b,c;
    cin>>n;
    list A={1,2,3}

T2:
using namespace()
int main()
freopen("road.in","r",std)
freopen("road.out","w",std)
{
int a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,ab;
cin>>a>>b>>c>>endl;
cin>>d>>e>>f>>endl;
cin>>g>>h>>i>>endl;
cin>>j>>k>>l>>endl;
cin>>m>>n>>o>>endl;
cin>>p>>q>>r>>s>>t>>endl;
cin>>u>>v>>w>>x>>y>>endl;

T3:
using namespace()
int main()
freopen("replace.in","r",std)
freopen("replace.out","w",std)
{
int a,b;
char c,d,e,f,g,h,i,j,k,l,m,n;
cin>>a>>b>>endl;
cin>>c>>d>>endl;
cin>>e>>f>>endl;
cin>>g>>h>>endl;
cin>>i>>j>>endl;
cin>>k>>l>>endl;
cin>>m>>n>>endl;

T4:
using namespace()
int main()
freopen("replace.in","r",std)
freopen("replace.out","w",std)
{
int a,b,c,d,e,f,g,h,i,j,k,l,m;
cin>>a>>b>>endl;
if(a=3)
{
    cin>>c>>endl;
    cin>>d>>e>>f>>endl;
    cout<<2<<endl;
}
if(a=10)
{
   cin>>c>>endl;
   cin>>d>>e>>f>>g>>h>>i>>j>>k>>l>>m>>endl;
   cout<<2204128;
}

BJ-S01850

代码
T1:
//社团招新
/*
        linux操作可能有问题   解压文件可能有问题


        学生应该熟悉一下相关操作
        *
        解题思路: 贪心 ?DP?

        每个社团都不能 超过n/2
                如果不限制每个社团人数  那么  每个人选最满意的社团就好  此时满意度的和最大
                限制了的话  让一部分人换 次满意的 社团
                * 哪部分人换? 满意度排名后 超过n/2的人 不一定

        三个队列 放每个人的 <满意度,位置> 即可



3
4
4 2 1
3 2 4
5 3 4
3 5 1

4
0 1 0
0 1 0
0 2 0
0 2 0

2
10 9 8
4 0 0
 */

BJ-S01869

字母表仙人。

C++
T1:
long long a,b,c=0,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t=0,u,v,w,x,y,z;

BJ-S01952

论缺省源。

C++
#include <bits/stdc++.h>
#define rept(i,a,b) for(int i(a);i<=(b);++i)
#define rep(i,a,b) for(int i(a);i<(b);++i)
#define pert(i,a,b) for(int i(a);i>=(b);--i)
#define per(i,a,b) for(int i(a);i>(b);--i)
#define lowbit(x) ((x)&-(x))
#define ls(p) ((p)<<1)
#define rs(p) ((p)<<1|1)
#define eb emplace_back
#define pb push_back
#define pii pair<int,int>
#define umap unordered_map
#define uset unordered_set
#define mmap multimap
#define mset multiset
#define int long long
#define db double
#define ldb long double
#define pct __builtin_popcount
#define pctll __builtin_popcountll
using namespace std;

BJ-S01964

每道题的代码都有至少一个可以使得程序编译失败的错误。

找不到吗?

  1. it a[100000][100000]
  2. stru,ios:syne
  3. int n,q,border1[],border2
  4. ios:syne wih_stdio(0);

后记

累死了。

花了 99 个星期才写完这个文章。

我之后还要去写 NOIP 2025 BJ 迷惑行为大赏。

应该能在春节之前写完。

再次感谢我的同学为我的帮助。

本文 Markdown 共有 4563045630 个字符。

原文