CSP-S 2026 JX 迷惑行为大赏
前言
纯手搓,花了 10+h 看了 2000+ 份代码。AI 仅用于辅助翻译 / 辅助统计。保证人类贡献 >>>>>>>>>>>>>>> AI 贡献。
若有补充 / 遗漏可联系作者。
开始!
基础统计
| 指标 | 数据 |
|---|---|
| 原始代码文件数 | |
| 空文件(去空白为空) | |
| 去空白后代码文件数 | |
| 原始合计字节数 | |
| 去空白后合计字节数 |
| 关键词 | 出现次数(文件) | 出现次数(结果) |
|---|---|---|
#include |
||
bits/stdc++.h |
||
iostream |
||
using namespace std |
||
ios::sync_with_stdio |
||
tie |
||
freopen\("crystal.in", ?"r", ?stdin\); |
||
freopen\("crystal.out", ?"w", ?stdout\); |
||
freopen\("subway.in", ?"r", ?stdin\); |
||
freopen\("subway.out", ?"w", ?stdout\); |
||
freopen\("migrate.in", ?"r", ?stdin\); |
||
freopen\("migrate.out", ?"w", ?stdout\); |
||
freopen\("hub.in", ?"r", ?stdin\); |
||
freopen\("hub.out", ?"w", ?stdout\); |
||
fclose |
||
int main |
||
signed main |
||
return 0 |
||
#define int long long |
||
#define ll long long |
||
typedef long long ll |
||
using ll=long long |
||
ccf |
||
rp |
||
int |
||
long long |
||
void |
||
vector |
||
pair |
||
priority_queue |
||
map |
||
sort |
||
dfs |
||
dij |
||
bfs |
||
0 |
||
1 |
||
2 |
||
3 |
||
4 |
||
5 |
||
6 |
||
7 |
||
8 |
||
9 |
000~099
JX-S00007
四道题:
#define I return
#define love 0
#define Sasuke ;
#define forever ;
...
I love Sasuke forever
注:Sasuke:宇智波佐助
这看起来是缺省源,以永远的热爱为程序画上句号。
JX-S00010
subway.cpp
vector<pair<long long,long long>> g(550);
g(last).push_back({v,lastw});
g(v).push_back({1<<62,w})
for(int j=1;j<=g(l).size();j++){
sum+=g(l).w;
}
还能用圆括号访问下标?
交上去一看,过不了编,直接 CE
/tmp/compiler_joy34f_7/src: In function ‘int main()’:
/tmp/compiler_joy34f_7/src:22:14: 错误:对‘(std::vector<std::pair<long long int, long long int> >) (long long int&)’的调用没有匹配
22 | g(last).push_back({v,lastw});
| ~^~~~~~
/tmp/compiler_joy34f_7/src:26:18: 错误:对‘(std::vector<std::pair<long long int, long long int> >) (long long int&)’的调用没有匹配
26 | g(v).push_back({1<<62,w})
| ~^~~
/tmp/compiler_joy34f_7/src:26:34: 警告:左移次数大于或等于类型宽度 [-Wshift-count-overflow]
26 | g(v).push_back({1<<62,w})
| ~^~~~
/tmp/compiler_joy34f_7/src:34:25: 错误:对‘(std::vector<std::pair<long long int, long long int> >) (int&)’的调用没有匹配
34 | for(int j=1;j<=g(l).size();j++){
| ~^~~
/tmp/compiler_joy34f_7/src:35:19: 错误:对‘(std::vector<std::pair<long long int, long long int> >) (int&)’的调用没有匹配
35 | sum+=g(l).w;
| ~^~~
/tmp/compiler_joy34f_7/src:38:11: 错误:‘sum’在此作用域中尚未声明
38 | cout<<sum;
| ^~~
JX-S00011
hub.cpp
while(t--)
{
cout << 0 << endl;
}
migrate.cpp
while(t--)
{
cout << 0 << endl;
}
subway.cpp
while(n--)
{
int a = rand();
cout << a << endl;
}
顺带一提,这位哥们的 crystal 的 m 未开 long long 导致挂成了 60 分。
JX-S00013
subway.cpp
这位哥们写的是 44 分的全源...dijskral?
void dijskral(int x) {
dijskral(i);
JX-S00018
#include<bits/stdc++.h>
using namespace std;
int main(){
#pragma(crystal.in,"w","r",static);
#pragma(crystal.out,"w","r",static);
return 0;
int a,b;
cin>>a>>b;
cout<<a<<b;
}
这是什么写法?我不理解。
实测在 -O2 -std=c++14 -Wall -Wextra -pipe 下编译成功但是读不进来。
JX-S00028
hub.cpp
拼音小作文:
/*
luogu uid:1658585
jin nian ye shi J he S shuang da, lao shi mei gei wo dai zhun kao zheng, wo ye shi mei zhao le
wo yao shang JX xing wei mi huo da shang
la wan le yi ge xiao shi T1 dou mei tiao hao, QwQ
oh bu bu bu, wo wu yi shi fen nu de, wo yi jing fang qi le
4:30 kai shi xie T2, T1 tiao hao jiu dou mei guo da yang li, wo jue de zhe ci wo lian 2= dou na bu dao, xian zai gu zhi you 20 fen, QwQ
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
QwQ QwQ QwQ QwQ QwQ QwQ QwQ QwQ QwQ QwQ QwQ QwQ QwQ QwQ QwQ QwQ QwQ QwQ QwQ QwQ QwQ QwQ QwQ
oh yeah, zhe ge ke wu de CCF chu le 3 dao tu lun, ha ha ha, wo men mei jiu le
tian lin lin, di lin lin, gei ge 2= xing bu xing
wo fang qi le, kao sha bu hao kao tu lun, wo zhen fu le (*-_-)
5:45 ben xiang yong DFS chang shi zuo yi xia T3, jie guo xie le ban tian xie gua le, wo yun. CCF ni wei shen me yao kao tu lun a !!!!
ning yi ji ku.
*/
细节:lin 应是 灵(ling2)
翻译:
洛谷 uid:1658585
今年也是 J 和 S 双打,老师没给我带准考证,我也没招了。
我要上 JX 行为迷惑大赏。
调了一个小时 T1 都没调好,QwQ。
哦不不不,我无疑是愤怒的,我已经放弃了。
4:30 开始写 T2,T1 调好就都没过大样例,我觉得这次我连 2= 都拿不到,现在估只有 20 分,QwQ。
啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊
QwQ QwQ QwQ QwQ QwQ QwQ QwQ QwQ QwQ QwQ QwQ QwQ QwQ QwQ QwQ QwQ QwQ QwQ QwQ QwQ QwQ QwQ QwQ
哦耶,这个可恶的 CCF 出了 3 道图论,哈哈哈,我们没救了。
天灵灵,地灵灵,给个 2= 行不行。
我放弃了,考啥不好考图论,我真服了(*-_-)。
5:45 本想用 DFS 尝试做一下 T3,结果写了半天写挂了,我晕。CCF 你为什么要考图论啊!!!!
您已急哭。
JX-S00030
subway.cpp,migrate.cpp,hub.cpp 都有一句注释:
//ccf ni ma si le
hub.cpp 中甚至还有:
using namspace std;
JX-S00031
crystal.cpp
// a segment to a_i(has): i * a_i - pre[i - 1] + pre[j - 1] - j * a_i
// notice: this is big to big
big to big 应该是想描述那坨式子具有单调性,进而得出二分的思路。
migrate.cpp
freopen("migrate.in", "r", stdin);
freopen("migrate.in", "w", stdout);
16->0(洛谷民间),可惜了。
JX-S00039
四个代码的最后均有励志鸡汤:
// ming yun yi ran zhu ding
// nu li jie zai dang jin
翻译:
命运依然注定
努力皆在当今
subway.cpp 还有碎碎念:
// qi xiao le, ba n,m de yi si kan fan le
// cheng gong lang fei shi ji fen zhong
翻译:
气笑了,把 n,m 的意思看反了
成功浪费十几分钟
JX-S00041
subway.cpp
void dijskra(int st){
dijskra(i + m);
又一个把 Dijkstra 打错的,你和 JX-S00013 坐一桌。
JX-S00055
int bfs(int x,int y){
memset(dist,0x3f,sizeof dist);
priority_queue<PII> q;
q.push({x,0});
while(q.size()){
PII hh=q.top();
q.pop();
for(int i=h[hh.first];i!=-1;i=ne[i]){
int j=e[i];
//cout<<hh.first<<" "<<j<<endl;
if(dist[j]>=bs[j]+hh.second){
//cout<<j<<" "<<bs[j]<<endl;
dist[j]=bs[j]+hh.second;
q.push({j,dist[j]});
}
}
}
return dist[y];
}
这是 BFS?
JX-S00066
crystal.cpp
if you make the exam truely,please give 100 point
subway.cpp
if you make the exam truely,please give 50 point
migrate.cpp
if you make the exam truely,please give 30 point
hub.cpp
if you make the exam truely,please give 0 point
尝试向评测机许愿的。
笑点解析:if 和数字高亮了。
JX-S00058
crystal.cpp
freopen("crystal.in","r",stdin);
freopen("crysral.out","w",stdout);
10->0(洛谷民间),可惜了。
JX-S00067
subway.cpp
struct sb { int pos, cost; };
vector<sb> station[M];
文明。
JX-S00069
crystal.cpp
int main(){
freopen("crystal.in","r",stdin);
freopen("crystal.out","w",stdout);
long long n,m;
cin>>n>>m;
long long a[n+5],cost[n+5];
cost[0]=0;
for(long long i=1;i<=n;i++){
cin>>a[i];
if(cost[i-1]<=m){
cost[i]=cost[i-1]+(max(a[i],a[i-1])-min(a[i],a[i-1]))*(i-1);
}
else cost[i]=100000000000000000000;
}
...
}
您的 inf(1e20) 爆 long long 了。
JX-S00075
crystal.cpp
//by 2m OvO!
JX-S00077
crystal.cpp
//wan dan le
subway.cpp
//hao ji ge yue mei xie zui duan lu de xia chang
//jin shi hou ren:yi hou csp qian yi ding yao xie zui duan lu
//a lian shi qian xiang xing wo ye hao jiu mei xie le a
//zui jin lian de yi ge mei kao aaa QAQ
翻译:
好几个月没写最短路的“下场”
警示后人:以后 CSP 前一定要写最短路
啊,链式前向星我也好久没写了啊
最近练的一个没考 aaa QAQ
migrate.cpp
//AFO li wo bu yuan le.
翻译:
AFO 离我不远了。
JX-S00082
crystal.cpp
const int N=5*1e5+200;
5e5 不像科学记数法,看着就不对?必须要写 5*1e5+5!
JX-S00092
subway.cpp
vector<pair<int,ll>>zt[500010] = {};//first line_zhantai ->dating cost second
int dij(int st){//from st line to every line
priority_queue<pair<ll,int>>q;//-cost id
可以看出已经很努力了,多背一个单词,站台 platform,你就成纯英注释大佬了。
JX-S00093
crystal.cpp
freopen("ctystal.in","r",stdin);
freopen("ctystal.out","w",stdout);
去掉 freopen,洛谷民间数据 45。可惜了。
100~199
JX-S00110
hub.cpp
#
《井号》
欲言又止。
JX-S00111
crystal.cpp
freopen("crystal.in","r,stdin);
freopen("crystal.out","w",stdout);
subway.cpp
freopen("subway.in","r,stdin);
freopen("subway.out","w",stdout);
migrate.cpp
freopen("migrate.in","r,stdin);
freopen("migrate.out","w",stdout);
hub.cpp
freopen("hub.in","r,stdin);
freopen("hub.out","w",stdout);
整个代码是一个巨大的字符串!
虽然加上这个引号也没一点分(洛谷民间),但着实很迷惑。
诶对了,他 migrate 输出的可是大样例,然后?可惜了差点就薅到分了。
JX-S00118
subway.cpp
void dijisktra(int s){
第三个拼错的。
JX-S00122
crystal.cpp, subway.cpp
/*---------------------
by DRheEheAM (awa)-----
love hanser forever!---
---------------------*/
是 Hanser 的粉丝。
JX-S00125
migrate.cpp
map <int,map<int,int>> mp;
for(int j=i+2;j<=n;j++) if(mp[j][dist[j]] == 1) ans++;
额,一眼看到这玩意我还寻思着能不能过编译。事实是可过的。
mp[j] 先通过键 j 映射到后一个 map 之值,然后 dist[j] 是后一个 map 的键,又映射出一个值。
这波操作看的我有些迷惑。
JX-S00126
crystal.cpp
//676767676767676767676767
hub.cpp
//I need a free huge!!!
//487487487487487487487487487487487487
上面一句的翻译:
我需要一坨免费的大粪!
(感觉意思是他对题目很不满,感觉自己就是来付费吃大粪的)
JX-S00127
subway.cpp
// give up and give up
migrate.cpp
//kyo de saigo desu
//sayonara
//odd dice suki
//millsage suki
翻译:
今日で最後です / 到今天为止了
さよなら / 永别了
odd dice 好き / 喜欢 odd dice
millsage 好き / 喜欢 millsage
查得 《Odd Dice》是手机游戏《BanG Dream! 交织的乐章》中登场的乐队millsage演唱的歌曲。这个东西其实我也不是很了解。
JX-S00129
四道题的前五行清一色全是:
#include<bits/stdc++.h>
using namespace std;
int a,s,d,f[10086],sum=INT_MIN;
int main()
{
缺省源是固定的变量和数组,这很迷惑。
有人能理解吗?
JX-S00134
subway.cpp
#include<bits/stdc++.h>
using namespace std;
const int maxn = 1e6;
int a[maxn][maxn];
你能想象评测机面对如此之大的请求时的恐惧吗?
然后完整代码也很迷惑,你都不知道这是在尝试做什么。
#include<bits/stdc++.h>
using namespace std;
const int maxn = 1e6;
int a[maxn][maxn];
int num = 0;
int main(){
freopen("subway.in", "r", stdin);
freopen("subway.out", "w", stdout);
int c, n, m, d, q;
cin >> c >> n >> m >> d >> q;
for(int i = 1;i <= n;i++){
for(int j = 1; j <= m; j++){
cin >> a[i][j];
num+=a[i][j];
}
}
int ans = num/2;
cout << num << endl;
cout << ans << endl;
return 0;
}
JX-S00135
crystal.cpp
const int N=5*1e5;
subway.cpp
const int M=5*1e5+7;
migrate.cpp
const int N=1e6*2+7;
同 JX-S00077。
JX-S00141
migrate.cpp
//cout << "I don't want to spend a lot of money like 800 yuan with my parents.";
翻译:
我不想和父母一起花那么多钱,就像这 800 元。
hub.cpp
//cout << "全不会";
JX-S00142
subway.cpp, migrate.cpp, hub.cpp
//!?bianhao?!
他似乎对
JX-S00147
crystal.cpp
//jinxingyigeerfenqidaogunmudezuoyong
//benlaijiuquanhenduole,Szuhaiquangengduo,taihuiquanqianle
//buganxiangbbequanleduoshao[xiaoku][xiaoku]
//zhewozhenzhaobudaowentizainale
//wokandongweishenmeshicuodele,danshizhenjiewoyexiangbuchulai.
//guoran.gang kai kao de shi hou jian pan yi ge ge qiao de zhen tian xiang,xian zai zhi sheng xia ling xing de jian pan sheng he pin fan de shu biao sheng le(bei
//xiwangzhegedaimanengzaiwosuoxiwangdefanweineinengzhengchangdeyunxing.
//zhongwuchouhualiu
//200chou5cai1dangqi1chongfu
//zuishibai
//hao 2 xiang 3 shuo 1 zhong 1 wen 2
//shang 2 shang 3 xiang 1 lian 2 bian 4 ping 2 sheng 1
翻译:
进行一个二分,祈祷滚木的作用
本来就已经很多了,S组还圈更多,太会圈钱了
不敢想 bbe 圈了多少 [笑哭][笑哭]
这我真找不到问题在哪了
我看懂为什么是错的了,但是正解我也想不出来。
果然。刚开考的时候键盘一个个敲得震天响,现在只剩下零星的键盘声和频繁的鼠标声了(悲
希望这个代码能在我所希望的范围内正常运行。
中午抽(hualiu 翻译失败)
(200chou5cai1dangqi1chongfu 翻译失败)
最失败
好想说中文
上上香,(lian 2 bian 4 ping 2 sheng 1 翻译失败)
subway.cpp
//wonagee,haoxiangshuijiaoya.
//zhetiwokanbudongya.tidoukanbudong.roselia(raosiwole).xiangshuijiao
//zhetishinagekesuluwenzi.bukeshi.bukelijie.
//30 min later
//wozhongyukandongtiledanshizhetamayikanjiushidongtaiguihua.zhewonahuia.beigebeibaodpmobanjiushiwodejixianlehaixiangyaowozuogengnandezuomengquba
//wofangqisikaole.woyaoshuijiao.
//wohaoxiangshuijiao.danshiruguojiankaolaoshilaijiaowowohuihenganga.tamenhuirenweiwofangqile.suiranwoqueshishifangqile.danshibendangwuli...
//saanyoanyokochioide
//moiikai
//ddd ddd d ddd ddd d dddd d ddd d ddd ddd d d d d d d d d d d dddd ddddd dd dd d d dd dd dd dd d dd dddddd dddddd d d d d d------(zhegeshiSage)
//haishichangshixieleyixiajieguowanquanxiangbudaozenmexie!
//haode.wozhendeyaoshuile.
//woshangyoushengaohunmzkxiayouhunhuomzkshenzhihaiyouaoaodaifudewl3a
//haiyouyixieshengria
//wodejinga
//nizajiuzhememeilea
//wohaojuewanga
//haoburongyizanchulaidejing
//chouyigehualiujiuquanxiaoshilea
//benlaijiuzhisheng18zhangfenpiaole
//zhexiazhiyou8zhanglea[bengkuidaku][bengkuidaku]
//juedingle.shangbanniangaodingjiexialaidelentuanfen,xiabanniangaodingshengri.qitadegundanba.suanle.
//ji hua zhi ding----
//jiuzheyang!quanbudengyiqifuke,buluandongshuile
//xianzaiwoshiqiangduhetuijuejiangupai!
翻译:
我那个饿,好像睡觉呀。
这题我看不懂呀。题都看不懂。绕死我了。想睡觉。
这题是那个克苏鲁文字。不可视。不可理解。
30 分钟后
我终于看懂题了,但是这是他妈一看就是动态规划。这我哪会啊。背个背包 DP 模板就是我的极限了,还想要我做更难的,做梦去吧。
我放弃思考了。我要睡觉。
我好想睡觉。但是如果监考老师来叫我,我会很尴尬。他们会认为我放弃了。虽然我确实是放弃了。但是本堂屋里……
さあ あんよ あんよ こっちおいで / 来吧,一小步一小步,到这边来~
もーいいかい / (藏)好了吗——?
ddd ddd d ddd ddd d dddd d ddd d ddd ddd d d d d d d d d d d dddd ddddd dd dd d d dd dd dd dd d dd dddddd dddddd d d d d d------(这个是 Sage)
还是尝试写了一下,结果完全想不到怎么写!
好的。我真的要睡了。
(后面都不可翻译)
特别迷惑,亦很神秘。大肥鱼说中间的日文来自某术曲。然后后面的实在是不可翻译就留着。
JX-S00159
四道题:
//RP ++
//Luogu @zzhengxi
RP++!
JX-S00160
#include<bits/stdc++.h>
using namespace std;
int main()
{
string s;
cout<<":)"<<endl;
cout<<"Your PC is Linux and you don't need to afraid a blue screen."<<endl;
cout<<"We won't let you lose your progress"<<endl;
cout<<"Save your documents at NOW or you will lose them"<<endl;
cout<<endl;
cout<<"Give you 10 seconds to read the text,don't close this window or nothing will happen on your computer"<<endl;
for(int i=1;i<=10;i++)
{
for(int i=1;i<=800000000;i++)
{
continue;
}
}
cout<<"You have 5 seconds to save(tips:you can press ctrl+s)"<<endl;
for(int i=1;i<=800000000;i++)
{
continue;
}
cout<<"You have 4 seconds"<<endl;
for(int i=1;i<=800000000;i++)
{
continue;
}
cout<<"You have 3 seconds"<<endl;
for(int i=1;i<=800000000;i++)
{
continue;
}
cout<<"You have 2 seconds"<<endl;
for(int i=1;i<=800000000;i++)
{
continue;
}
cout<<"You have 1 seconds"<<endl;
for(int i=1;i<=800000000;i++)
{
s+='A';
continue;
}
cout<<"You have 0 seconds"<<endl;
while(true)
{
s+='A';
}
return 0;
}
你说得对,但是首先 Linux 有 Kernal Panic,值得注意的是,对于选手还有 MLE,最后。。。编不下去了,真难绷。
JX-S00162
crystal.cpp
freopen("crystal.in","w",stdin);
freopen("crystal.out","r",stdout);
其他部分在官方数据下能得 35 分,可惜了。
后面三题亦如此,不过其余部分是滚木:
subway.cpp
freopen("subway.in","w",stdin);
freopen("subway.out","r",stdout);
migrate.cpp
freopen("migrate.in","w",stdin);
freopen("migrate.out","r",stdout);
hub.cpp
freopen("hub.in","w",stdin);
freopen("hub.out","r",stdout);
JX-S00166
hub.cpp
freopen("hub5.in","r",stdin);
freopen("hub.out","w",stdout);
5->0(洛谷民间),可惜了。
JX-S00167
四道题的文件开头均是:
#include<bits/stdc++.h>
#define CSP2026 using
#define RP namespace
#define PLUSPLUS std
CSP2026 RP PLUSPLUS;
不过这人似乎发挥不好,没体现出宏的加成:
crystal.cpp
inline int rd(){int x=0,f=1;char ch=getchar();for(;!isdigit(ch);ch=getchar())if(ch=='-')f=-1;for(;isdigit(ch);ch=getchar())x=(x<<3)+(x<<1)+(ch^48);return x*f;}
for(int i=1;i<=n;++i)a[i]=rd();
100->75(官方数据),可惜了。
JX-S00168
subway.cpp
struct node{
long long s,e,q;
bool operator>(node b){
return q>b.q;
}
};
priority_queue<node,vector<node> >dq;
大根堆劣化 Dijkstra。
JX-S00171
crystal.cpp
//Think Twice,Code Once
//Calm Down!
翻译:
三思而后编码
冷静!
subway.cpp
//kuaidu kachang!
//danxiang? shuangxiang?
翻译:
快读卡常!
单项?双向?
JX-S00174
crystal.cpp
cout<<ans<<"\n;
return 0;
...
后面一整串代码都成了字符串
补上引号后交上去可得 60 分,这是真的可惜。。。
JX-S00178
subway.cpp
int w[123456789],w[123456789],t[123456789],st[123456789],et[12345789];
migrate.cpp
int a[123456789];
JX-S00179
crystal.cpp
cout << ans;
return 1;
Runtime Error.
Program exited with code 1.
另,这位哥们的 m 没开 long long,把 return 1 改为 return 0 外加 m 改开 long long 就能 AC,最迷惑也是最可惜的一集。
migrate.cpp
/*
gan jue jia wan le
wo shi qv wang
wo zen me shen me dou bu hui zuo
/bx lw393 /bx Mr_min /bx gmh123456gmh /bx 1??????????a /bx xzy_ak_ioi /bx tooolazy /bx szh_ak_all /bx infter(inftress?) /bx zhoumurui
/bx system32 /bx deepthinker? /bx... sheng xia de wang ji le qwq wo shi qv
qwq zuo le 2h jia diao le
beng kui le
aaaaaaaaaaaaaa di 5 ge yang li guo bu qv , di 6 ge guo de qv
*/
翻译:
感觉假完了
我是区王
我怎么什么都不会做
/bx lw393 /bx Mr_min /bx gmh123456gmh /bx 1??????????a /bx xzy_ak_ioi /bx tooolazy /bx szh_ak_all /bx infter(inftress?) /bx zhoumurui
/bx system32 /bx deepthinker? /bx... 剩下的忘记了 qwq 我是区
qwq 做了 2h 假掉了
崩溃了
aaaaaaaaaaaaaa 第 5 个样例过不去,第 6 个过得去
发现假了确实令人崩溃(
在官方数据下能拿 88 分,很不错了,这两个小时不算白费。
hub.cpp
/*
6:24
EOF
*/
JX-S00181
subway.cpp, migrate.cpp
//After CSP-J/S 2026 I will AFO.
//Goodbye OI!!!!!
//I love OI and CCF!!!!!!!!!!!!!!!!!!!!!!!
JX-S00185
crystal.cpp
//zcy
//15:11zuowan
JX-S00188
hub.cpp
#inclde<iostream>
using namespace std;
int main()
{
return 0;
}
因可乐的。
JX-S00191
migrate.cpp
1
2
migrate.cpp
1
2
hub.cpp
1
2
这位哥们尝试使用 PHP 格式交大样例。
JX-S00193
这位哥们没有写 using namespace std; 而是在每一处该加 std:: 的加 std::。
符合现代工程规范,是 OI 中的一股清流,好!
crystal 中有 10 个 std::
subway 中有 19 std::
hub 中有 21 std::
migrate 中有 21 std::
JX-S00194
subway.cpp
int dij(int s,int t){
int dis[N]; bool vis[N];
queue<pair<int,int> > q;
memset(dis,0x3f,sizeof(dis));
q.push({0,s}); dis[s]=0,vis[s]=1;
while(!q.empty()){
int u=q.front().second;
q.pop();
for(int i=head[u];i;i=e[i].nex){
int v=e[i].to,w=e[i].w;
if(dis[v]>dis[u]+w||!vis[v]){
dis[v]=dis[u]+w;
q.push({dis[v],v});
vis[v]=1;
}
}
}
return dis[t];
}
SPFA 风味 dijkstra
实测能得滚木分,大概是假的。
JX-S00195
hub.cpp
/*
//NothingtoSay
#include<bits/stdc++.h>
#define ll long long
struct sw{
ll minatk,maxatk;
};
struct people{
ll hp,minatk,maxatk;
std::string name;
sw hand;
};
signed main(){
return 0;
std::cout<<"It was a terrible day...\n";
std::cout<<"And you will be in an terrible adventure...\n";
std::cout<<"Are you ready?\n";
people You;
You.hp=50;
You.minatk=0;
You.maxatk=0;
std::cout<<"Town Violet\n";
std::cout<<"Hunter:Helle,guy.What's your name?\n";
std::cin>>You.name;
bettle1;
std::cout<<"Hunter:Oh,good day,"<<You.name<<".You are new in town,let me tell something to you...\n";
std::cout<<"Bettle layer\n";
std::cout<<"Hunter:In Violet,we are fond to bettle--it's really a good way to relax.\n";
std::cout<<"Hunter:Hold it!\n";
std::cout<<"You get stick.\n";
sw Stick;
Stick.minatk=1;
Stick.maxatk=5;
You.hand=Stick;
std::cout<<"MinAtk"<<You.minatk<<"->"<<You.minatk+You.hand.minatk<<'\n';
std::cout<<"MaxAtk"<<You.maxatk<<"->"<<You.maxatk+You.hand.maxatk<<'\n';
people Hunter;
Hunter.hp=20;
Hunter.minatk=0;
Hunter.maxatk=0;
Hunter.hand=Stick;
while(Hunter.hp>0&&You.hp>0){
ll yatk=rand()%5+1,hatk=rand()%5+1;
std::cout<<"Hunter:You can ateack.\n1.Atk\n2.Def\n\n";
char x;
std::cin>>x;
if(x=='1'){
Hunter.hp-=yatk;
You.hp-=hatk;
std::cout<<"Hunter"<<std::max(0LL,Hunter.hp)<<'\n';
std::cout<<"You"<<std::max(0LL,You.hp)<<'\n';
}
else{
ll d=hatk-yatk;
if(d>=0)
You.hp-=d;
else
Hunter.hp+=d;
std::cout<<"Hunter"<<std::max(0LL,Hunter.hp)<<'\n';
std::cout<<"You"<<std::max(0LL,You.hp)<<'\n';
}
}
if(You.hp<=0)
goto bettle1;
else
std::cout<<"You win.\n";
}
*/
写了个神秘打怪游戏。
这里有个编译错误,把 bettle1; 之标签改为 bettle1: 即可过编。
代码中还有多处明显的拼写错误。
运行起来,实测不停 1 再回车就赢了。
JX-S00196
intr a[500005];
200~299
JX-S00201
subway.cpp
freopen("subwany.in","r",stdin);
freopen("subwany.out","w",stdout);
JX-S00202
crystal.cpp
freopen("crystal4.in","r",stdin);
freopen("crystal.out","w",stdout);
这两位都是文件读写明显写错且注释后一分不得。
JX-S00203
hub.cpp
#include<iostream>
using namespace std;
using ll=long long;
constexpr int MAXN=0,INF=0x3f3f3f3f;
int main(){
freopen("hub.in","r",stdin);
freopen("hub.out","w",stdout);
cout<<"1145141919810";
}
骗分少了点水平。。。
点数总共最多就 1e6 上哪去凑 1145141919810 之距离?
JX-S00207
crystal.cpp
long long m,a[514514];
subway.cpp
long long c,n,m,d,q,k[214514],w[114514],dist[114514],f[114514];
vector<node> lxh[214514];
migrate.cpp
int c,t,n,d,a[2145140],f[2145140],ans;
JX-S00211
int a[114514];
cout<<a[919191+i]
注:cout 后面没有分号。
JX-S00212
subway.cpp, migrate.cpp, hub.cpp
/*
abcdefghijklmnopqrstuvwxyz1234567890!@#$%^&*()~`_+-={}[]|\:";'<>.
*/
键盘正常。
migrate.cpp
ll meow(ll s,ll e,ll hzy){
cnt=0;mb=hzy;zd=e;
dfs(s,0);
return cnt;
}
函数名正常?异常?
JX-S00217
crystal.cpp
// kan cuo ti le
看错题了()不会是和作者当初那样,看成了既可加亦可减吧?
subway.cpp
//jiang xian lu zuo wei dian
//15 : 48 guo da yang li
翻译:
将线路作为点
15:48 过大样例
强强!
JX-S00221
hub.cpp
//CSP-S rp++!
rp++!
JX-S00222
hub.cpp
freopen("crystal3.in","r",stdin);
//freopen("crystal.out","w",stdout);
(然后后面大体与他的 crystal.cpp 一致)
JX-S00226
crystal.cpp
#include<bits/stdc++.h>;
freopen("crystal.in","t",stdin);
freopen("crystal.out","c",stdout);
其他三题亦如此。
JX-S00228
freopen("crystal",'w',"crystal.in");
freopen("crystal",'r',"crystal.out");
过不了编,其余代码实测可得 25 分。可惜了。
JX-S00232
crystal.cpp
const max=10000000000005;
long long a[max[,c[max],d[max];
JX-S00233
migrate.cpp
freopen("filename.in", "r", stdin);
freopen("filename.out", "w", stdout);
subway.cpp
//freopen("filename.in", "r", stdin);
//freopen("filename.out", "w", stdout);
这两题的其余部分交上去均是 0 分。
JX-S00234
crystal.cpp
freopen("crystal3.in","r",stdin);
freopen("crystal.out","w",stdout);
其余部分可得 25 分。可惜了。
JX-S00236
crystal.cpp
//!!!remember freopen!!!
//Let's milk DANCE!
freopen("crystal.in","r",stdin);
freopen("crystal.out","w",stdout);
好记。
subway.cpp
/*give up
it's unlucky that my phone has became a black brick last night while normal-using
*/
翻译:
放弃。
不幸的是,我的手机昨晚在正常使用时变成了黑屏砖头。
migrate.cpp
/*
i want play maimai DX
*/
翻译:
我要打舞萌
hub.cpp
/*
see you next time
*/
/*
what can i say
manba out
*/
这谁绷得住啊。
JX-S00237
crystal.cpp
struct Big_Num{
(初始化、高精加单精,高精减单精,高精减高精,比大小。)
}
用来存前缀和
subway.cpp
ll dijstra(int l,int r){
JX-S00129
subway.cpp, migrate.cpp 是同一份文件:
#include<bits/stdc++.h>
using namespace std;
int main(){
freopen("subway","r",stdin);
freopen("subway","w",stdout);
long long n,c,m,d,q;
cin>>c>>n>>m>>d>>q;
return 0;
}
JX-S00251
hub.cpp
#include<bits/stdc++.h>
using namespace std;
typedef long long ll;
const int N=1;
int main(){
freopen("hub.in","r",stdin);
freopen("hub.out",'w',stdout);
printf("!\n");
return 0;
}
神秘感叹号也输不出,因为 'w'。
JX-S00251
subway.cpp
代码中间有一行:
// printf("I must be lost in this game\n");
JX-S00261
subway.cpp
//don't write n,m wrong!!
hub.cpp
//bu la shi bu la shi
//wysfl
//mashangyao
//qizhong--whk
//wo m f x
//luokao
//....
//wyl
//nineng kdm
//be ready to AFO
翻译:
不拉屎不拉屎
我也是疯了
马上要
期中--文化课
我没复习
裸考
....
我(晕/玉)了
你能看代码
准备 AFO
JX-S00273
crystal.cpp
#include<bits/stdc++.h>;
using namespace;
int main{
fropen('crystal.in','r',spet);
fropen('crystal.out','w',sepat);
int n,m;
cin>>n>>m;
if(n==5&&m==5){
cout<<"3";
}else{
cout<<"4";
}
}
return 0;
subway.cpp
#include<bits/stdc++.h>;
using namespace;
int main{
fropen('crystal.in','r',spet);
fropen('crystal.out','w',sepat);
int n,m;
cin>>n>>m;
if(n==5&&m==5){
cout<<"3";
}else{
cout<<"4";
}
}
return 0;
migrate.cpp
#include<bits/stdc++.h>;
using namespace;
int main{
int n,m;
cin>>n>>m;
if(n==0&&m==2){
cout<<'1'<<endl<<'2';
}
}
return 0;
hub.cpp
#include<bits/stdc++.h>;
using namespace;
int main{
count<<'1'<<endl<<'2';
}
return 0;
外星语言 C??
JX-S00285
crystal.cpp
#define File
#define FileName "crystal"
#ifdef File
freopen(FileName ".in", "r" ,stdin);
freopen(FileName ".out", "w", stdout);
#endif // File
subway.cpp
#define File
#define FileName "subway7"
#ifdef File
freopen(FileName ".in", "r" ,stdin);
freopen(FileName ".out", "w", stdout);
#endif // File
其余部分 12 分。可惜了
剩下两个亦是类似的写法,但是程序本体连编译都无法通过。
JX-S00289
crystal.cpp
/*
<<SAIKAI>> -- Mili
(Section)
I knew I must step up.
You deserve the world and more.
The truth is that you'd rather
spend our limited time together.
Protection alone is not enough,
providing cannot fill a ***(i forgot) heart
thirsting for love.I questioned my self a lot...
What do I know about love?
How can I recreate what I've never had?
All I know is that I must
keep you thriving.
If nutrients are what you lack,
I'll water you with every drop of blood
I have.
But now I know that
sacrifice is the easy path,
my absence cannot ever change the fact.
I wanted the very best for you,
believe me.
Our red threads can never be cut,
and S is not for Sayonara.
Will you forgive me at last?
*/
翻译:
《SAIKAI》(再会)—— Mili
我知道,我必须挺身而出。
你值得拥有全世界,甚至更多。
可事实是,你宁愿
和我们有限的时光待在一起。
仅仅是保护,还远远不够;
一味地给予,也填不满那颗渴求着爱的心。
我曾无数次扪心自问……
关于爱,我究竟懂得什么?
我从未拥有过的东西,又该如何为你创造?
我只知道一件事:我必须
让你活下去,让你茁壮生长。
如果你缺少的是养分,
我会用我身体里的每一滴血来浇灌你。
但现在我终于明白——
牺牲,是一条更轻松的路。
我的缺席,永远无法改变那个事实。
我曾想给你最好的一切,请相信我。
我们之间的红线,永远不会被剪断,
而“S”,并不代表“永别”(Sayonara)。
到最后,你会原谅我吗?
DS 的来源解析之节选(其实我也不是很懂)
这首歌是 Mili 为韩国游戏 《边狱公司》(Limbus Company) 创作的委托曲,作为第九章“The Unsevering”(未断之物 / 不可切断的)的终曲出现。歌名“SAIKAI”在日语中写作“再会”,含义介于 “重逢” 与 “再次相见” 之间,而这正是该章的核心主题:长期分离的人们,尤其是父母与子女,最终面对面重逢。
JX-S00291
crystal.cpp
// zui hou yi nian le miao~ luogu:_Memory, ju ruo gan jue zui hou yi nian bu xie dian zhu shi mei yi si
//ke shi yi si you dian xie bu wan bao li...bei zi ji cai kuQAQ, jiang jiu kan ba
//wo de tong xue shuo ta yao quan wen bei song recall, bu zhi dao ta you mei you cheng gong!
//CSP2026 rp++!!
翻译:
最后一年了喵~ 洛谷:_Memory,就若感觉最后一年不写点注释没意思
可是意思有点写不完,暴力……被自己菜哭QAQ,将就看吧
我的同学说他要全文背诵 recall,不知道他有没有成功!
CSP2026 rp++!!
subway.cpp
//xiang xin shao ye ji!!!
//gan jue you dian fei wu le, zen me yi zhi zai bei ge zhong joker cuo wu ka,qi ku le.ci shi yi jing 17 dian le wo cai xie wan BQAQ
翻译:
相信少爷机!!!
感觉有点废物了,怎么一直在被各种 joker 错误卡,气哭了。此时已经 17 点了,我才写完 B QAQ
migrate.cpp
//cong qi dian tiao yi ci fanzhe yici you qie jin you yiduan huo zhe1 liang duan qi zhong yi duan yu S||T xiang lian
//bi jiao dui,ke shi mei shi jian le ba QAQ yao yi han li chang le QAQ
//ji fang de O2 neng bu neng bei xi zou yi huo de jia shiQAQ
//mei xie wan, yao mei lian jian ren le QAQ
// zhe ge jian pan hao nan yong, qiao de shou teng.neng fou kao lv ming nian huan yi xie jian pan?QAQ
翻译:
从起点跳一次,反着一次,有且仅有一段,或者 1、2 段其中一段与 S||T 相连
比较对,可是没时间了吧 QAQ 要遗憾离场了 QAQ
机房的 O2 能不能被吸走一会的加时 QAQ
没写完,要没脸见人了 QAQ
这个键盘好难用,敲得手疼。能否考虑明年换一些键盘?QAQ
JX-S00294
四道题:
include<bits/stdc++.h>
难道,这么多代码都是在没去编译测试的情况下写出来的?
JX-S00297
subway.cpp
#include<bits/stdc++.h>
using namespace std;
typedef long long ll;
int main(){
freopen("subway.in","r",stdin);
freopen("subway.out","w",stdout);
ll 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,A,B;
cin>>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>>A>>B;
if(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+A+B==112){
cout<<"32"<<endl<<"17";
}
else {
cout<<"35"<<endl<<"16";
}
return 0;
}
这是干嘛,遍历字母表吗?
migrate.cpp
#include<bits/stdc++.h>
using namespace std;
typedef long long ll;
int main(){
freopen("migrate.in","r",stdin);
freopen("migrate.out","w",stdout);
int q,w,e,r,t,y,u,i,o,p,a,s,d,f,g;
cin>>q>>w>>e>>r>>t>>y>>u>>i>>o>>p>>a>>s>>d>>f>>g;
if(q+w+e+r+t+y+u+i+o+p+a+s+d+f+g==40){
cout<<"1"<<endl<<"2";
}
else{
cout<<"0"<<endl<<"1";
}
return 0;
}
hub.cpp
#include<bits/stdc++.h>
using namespace std;
int main(){
freopen("hub.in","r",stdin);
freopen("hub.out","w",stdout);
long long q,w,e,r,t,y,u,i,o,p,a,s,d,f,g,h,j,k,l,z,x,c,v,b,n,m,Q,W,E,R,T,Y;
long long M=132514564;
long long N=15441454145;
cin>>q>>w>>e>>r>>t>>y>>u>>i>>o>>p>>a>>s>>d>>f>>g>>h>>j>>k>>l>>z>>x>>c>>v>>b>>n>>m>>Q>>W>>E>>R>>T>>Y;
if(q+w+e+r+t+y+u+i+o+p+a+s+d+f+g+h+j+k+l+z+x+c+v+b+n+m+Q+W+E+R+T+Y==131){
cout<<"1"<<endl<<"2";
}
else{
cout<<M%2<<endl<<N%2;
}
return 0;
}
又变成了遍历键盘。
300~399
JX-S00300
crystal.cpp
// Don't guafen!!!
subway.cpp
// Can Floyd AC testcases 9~11? I think it can.
// [32, 44]pts.
migrate.cpp
// 40pts. I can't get more.
hub.cpp
// 5pts.
// sum : 100 + [32, 44] + 40 + 5 = [177, 189]
// Don't Guafen!!
实测官方数据 100+32+40+15=187 分,没正向挂(subway 的区间不算)还在 hub 上反向挂了 10 分。厉害。
作为参考,他在 sdtkwxt's Enhanced Civil Data 是 100+32+28+15=175。
JX-S00302
四道题:
#define ll long long
#include<bits/stdc++.h>
能过编,不影响大体,但这个顺序就是很迷惑。
JX-S00305
hub.cpp
while(t--)
{
cin>>n>>k;
for(int i=1;i<=n-1;i++)
{
cin>>u>>v;
}
cout<<1>>"\n";
}
JX-S00313
migrate.cpp
/*
* lowbit x&(-x)
*
* inv:pow(x,mod-2)
*/
然而今年是四道题有三道图论。
JX-S00335
crystal.cpp
/*
* hi i want to be looked in jx mihuo code show
* my luogu id mc2djwh
* easy t1!
* 15:00 done t1
* i want to baoli with every t2-t4
* but i didn't read problem
* 16:30 omg i ac t2!!!
* just a floyd ,i think it's a binary graph or sth
* 18:00
* finally,i can't write baoli in t3
* www
* i write an dijkstra but it doesn't work
* and i forget priority_queue
* so i have to did it by my hand
* /
翻译:
/*
嗨,我想被收录进 jx 迷惑代码大赏
我的洛谷 id 是 mc2djwh
t1 小菜一碟!
15:00 做完 t1
我想给 t2-t4 全写暴力
但我没读题
16:30 天哪我 AC 了 t2!!!
就是个 floyd,我还以为是二分图之类的
18:00
最后,t3 我写不出暴力
www
我写了个 dijkstra 但它不对
而且我忘了 priority_queue
所以只能手写了
好的。
JX-S00343
crystal.cpp
//cnmd
migrate.cpp
#include<bits/stdc++.h>
using namespace std;
int main(){
freopen("migrate.in","r",stdin);
freopen("migrate.out","w",stdout);
cout<<"Hello,world!";
for(int j=1;j<=1000000;j++){
for(long long i=1;i<=2000;i++){
cout<<i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i;
}
}
fclose(stdin);
fclose(stdout);
return 0;
}
hub.cpp
#include<bits/stdc++.h>
using namespace std;
int main(){
freopen("hub.in","r",stdin);
freopen("hub.out","w",stdout);
cout<<"HaoNanYa!!!"<<endl;
cout<<"FuLe,Nanshou"<<endl;
cout<<"Hello,World!";
fclose(stdin);
fclose(stdout);
return 0;
}
JX-S00345
crystal.cpp
/*
5 5
1 2 4 8 9
14:30
O(n^2)
45pts
14:54
O(nlogn) (sort nlogn+2-point n)
100pts
*/
subway.cpp
/*
problem illustration so good,even a devil may cry
16:00
dij
O(n^2*(n+m)*d)
<40pts
*/
上段文字翻译:
题面配图/题目插图太好了,好到连恶魔都会哭(《鬼泣》)。
DS 注:其中 “even a devil may cry” 是双关:字面是“连恶魔都可能哭泣”,同时对应游戏名 《Devil May Cry》(鬼泣)。
非常和谐的表达了对 T2 题面屎长的不满。
migrate.cpp
/*
17:08
dfs
O(n^4)
8pts
*/
JX-S00347
hub.cpp
include<bits/stdc++.h>
JX-S00351
crystal.cpp
//hun shui mo yu guoqv l
//huaicai zhege daima you dawenti
翻译:
浑水摸鱼过去了。
(huaicai 无法翻译)这个代码有大问题。
subway.cpp
//Is this shame us who could not take the subway ??
//Are you consider if we could not take the subway ?? It will be so hard to understand the problem
(这段英文存在些许语法问题)
翻译:
这是在羞辱我们这些坐不了地铁的人吗??
你有没有考虑过我们坐不了地铁??这样题目会很难理解。
同时这人这位哥们没有写 using namespace std; 而是在每一处该加 std:: 的加 std::。和 JX-S00193 坐一桌。
crystal 16
subway 14
migrate 8
hub 12
JX-S00362
这位哥们和 JX-S00193 和 JX-S00351 坐一桌。
crystal 9
subway 14
migrate 12
hub 13
JX-S00367
subway.cpp
//AFO
JX-S00370
hub.cpp
#include<bits/stdc++.h>
#define int long long
using namespace std;
const int N = 2e6 + 10;
int c,t,n,d,x[N];
signed main(){
//freopen("hub.in","r",stdin);
//freopen("hub.out","w",stdout);
ios::sync_with_stdio(false);
cin.tie(0);
cout.tie(0);
cin >> c >> t;
while(t--){
cout << 1 << endl;
}
return 0;
}
没能捞到那全输
JX-S00376
migrate.cpp
freopen(".in","r",stdin);
freopen(".out","w",stdout);
JX-S00377
crystal.cpp, subway.cpp
#define buff ios::sync_with_stdio(false),cin.tie(nullptr),cout.tie(nullptr);
叠上 buff!
JX-S00378
crystal.cpp
freopen("crystal3.in","r",stdin);
freopen("crystal88.out","w",stdout);
其余部分在官方数据下能跑出 10 分。可惜了。
JX-S00382
subway.cpp
priority_queue<node> q;
q.push({v,d[v]});
过不了编。
JX-S00393
int a[505][500005],siz[505];
ll edge[505][505],w[500005];
vector<vector<int> > from(500005);
int t[505][500005];
仅考虑 a 数组和 t 数组就占了 1926 MB,就算今年空限开得再大也容不下。
JX-S00395
subway.cpp
//ming nian zai zhan
明年再战!
hub.cpp
cout<<"0/n1";
JX-S00398
四题均如此(以 crystal.cpp 为例)
// if in submit
freopen("crystal.in", "r", stdin);
freopen("crystal.out", "w", stdout);
// endif
// if in test
// freopen("crystal4.in", "r", stdin);
// freopen("crystal.out", "w", stdout);
// endif
初看以为是外星语言,细想是给他自己看的。
JX-S00399
crystal.cpp
loong long a[1000005];
ios::sync_with.stdio(0);
sort(a+1;a+n-1);
外星语言。
400~499
JX-S00404
hub.cpp
//yuan sheng nb!!!
JX-S00405
crystal.cpp
/*
uid=305928 last fight
azayagana risouhatasutsurukiyo
konoyonoyume subetenosete
ima ima saa kirisaite
tashikana kotowariminna urayamu
mitasarenu sekainoitadakide!
For lovely Tenshi Hinanawi
*/
/*
Why CSP-S has no WC flags.
And the toliet's quality... familiar.
Three times lose here.
It cannot be four times.
*/
翻译:
uid=305928 最后一战
鮮やかな理想 果たす剣よ / 鲜艳的理想,去实现的剑啊
この世の夢 すべて乗せて / 承载此世所有的梦
今 今 さあ 切り裂いて / 现在,现在,来吧,斩开吧
確かな理 皆 羨む / 确凿的道理,众人皆羡
満たされぬ世界の頂で! / 在无法满足的世界的顶点!
献给可爱的比那名居天子
为什么 CSP-S 没有 WC 旗。
而且厕所的质量……似曾相识。
在这里已经输了三次。
不能有第四次。
subway.cpp, migrate.cpp, hub.cpp 的代码开头有一段和上述第一段一模一样的,另外各自附有一句,连起来如下:
/*
Tenshi's spirit encourages me.
*/
/*
NO one can stop her from steping forward.
*/
/*
Probably so do I.
*/
翻译:
天子的精神鼓舞着我。
没有人能阻止她向前迈进。
或许我也一样。
JX-S00415
crystal.cpp
//from 2 boss,and then rush;*/
hub.cpp
/*I always remeber befor
...
My life
My love
And my fool c++
My fool Englishi
May I get scores...
I don't care
I want to play back my life
Maybe it will better?
Ohh.. I don't care that..anyway..
*/
翻译(原文存在拼写问题):
我常常追忆过去
……
我的生命
我的爱
还有我那愚蠢的 C++
我那糟糕的英语
我能不能拿到分数……
我不在乎
我想回放我的人生
也许会更好?
哦……反正……我不在乎那些……
JX-S00???
crystal.cpp
// szh_ak_all is on the left side, in front of me, orz
// and where is rongrong?
// he cannot get my identity haha
// pls dont show my test-id (duckly)
翻译:
szh_ak_all 在我左边、在我前面,orz
那 rongrong 在哪?
他拿不到我的身份,哈哈
请不要显示我的准考证号(像鸭子一样)
应要求屏蔽掉准考证。的。。。说?
migrate.cpp
// nooooo i waste much time on wrong idea qwq
翻译:
哦不,我在假做法上浪费了很多时间 qwq
hub.cpp
// noooooooooo i forget that CSP-S lasts for 4h, i gonna get red
// i can do few thing so that i should do nothing
翻译:
不不不不不,我忘了 CSP-S 只有 4 小时,我要红温了
我能做的事很少,所以我应该什么都不做
JX-S00417
crystal.cpp
// T1 has been finished at 14:52.
22min AC T1,强!
subway.cpp
// 15:36 xiang dao zuo fa le !!!
// bai xie wo chong hao
// Can I get full pts on T2???????
// Just do it!!!!!!!
// 16:18 dai ma bei vscode fang da le bu hui suo xiao
// zhi neng jiang jiu zhe xie le
// 16:47 tiao dai ma hao nan a
// 17:00 passed all the examples!!!!!!!!!!!!!!!!!!!!!!!!!
// csp-s2 2026 >=200pts seems not impossible
// check repeatedly and make sure no errors.
翻译:
15:36 想到做法了!!!
白写,(wo chong hao 不可翻译)
我能在 T2 上拿满分吗???????
干就完了!!!!!!!
16:18 代码被 VSCode 放大了,不会缩小
只能将就这些了
16:47 调代码好难啊
17:00 通过了所有样例!!!!!!!!!!!!!!!!!
CSP-S2 2026 >=200 分似乎并非不可能
反复检查,确保没有错误。
migrate.cpp
// coding is so tiring, meow.
// I dont wanna learn oi anymore
// I admit I just wanna play computer
// but should I miss the days? sure
// maybe afo after this exam
// 50min to end
// ai, xie bu lai
// finished N <= 300 but WA, and spe A, at 18:15, 8pts got.
翻译:
写代码好累啊,喵。
我不想再学 OI 了
我承认我只想玩电脑
但我该怀念这些日子吗?当然
也许考完这场就 AFO 了
还剩 50 分钟结束
唉,写不来
写完了 N <= 300 的做法,但 WA 了,还有特殊性质 A;18:15 时捞到了 8 分。
hub.cpp
// 18:18 le, hai mei du ti, t4 bu zuo le
// 208pts(maybe) tui chang
// yong 10min xie yi xie dong xi
// kan kan neng bu neng shang JX-S mi huo xing wei da shang
// wo de luogu uid shi 1126325
// wo zai qian san nian de s zu cheng ji jia qi lai zhi you 165
// ru guo 208 shi zhen de na wo chu xi le
// wo shi qu le qu nan chang shen zao de ji hui
// suo yi cai hui you jin nian chu san jiu afo de xiang fa
// wo yi zhi jue de zhong shi jiao yu zhe me zhe me ren hen bu dui
// fang qi zi ji de yi qie, shen zhi shen ti he jing shen
// qu tou ben de wei lai zhen de zhi de ma?
// bu guo bu shi wo neng gai bian de.
// ming nian wo jiu shi ku bi de gao zhong sheng le.
// wo re ai de yi qie, ye dou jiang sui zhe lin chuan yi zhong de
// heng shui mo shi yan guan er luo mu.
// OI, hai you pao bu, yi ji qi ta yi xie dong xi.
// wo de chu zhong shi ke yi shuo jiu shi yi bu pao bu shi.
// xian zai wo de 1500m yi jing pao dao le 4'32" yi nei.
// 800m pao jin le 2'10".
// pao bu rang wo zhi dao wei chi zi lv de fang shi wei you re ai.
// shi qu OI, shi qu pao bu, shi qu peng you, shi qu zi you
// zhong guo de gao zhong dai zou le wo men hen duo
// dai lai le shen me a
// yi zhang lu qu tong zhi shu, zhen de zhi de yong
// wo men de qing chun qu jiao huan ma?
// shuo de you dian duo le. 18:26. jiao dai ma qu.
// wo bu zhi dao wo yong bu dao 10min da zhe dui zi yi yi he zai.
// dan shi, jiu zhe yang.
// csp-s2 2026 rp = LLONG_MAX.
// zuo chen ai zuo wan xia, wo men zong hui zai jian de ba
// hua feng xia yun, luo shui yian yi
// hai you hao duo xiang shuo, nai he mei shi jian le.
// zhu hao.
// zai jian.
// da wan noip jiu afo.
翻译:
18:18 了,还没读题,T4 不做了
208pts(也许)退场
用 10min 写一些东西
看看能不能上 JX-S 迷惑行为大赏
我的洛谷 uid 是 1126325
我在前三年的 S 组成绩加起来只有 165
如果 208 是真的,那我出息了
我失去了去南昌深造的机会
所以才会(有)今年初三就 AFO 的想法
我一直觉得中式教育这么这么对人,很不对
放弃自己的一切,甚至身体和精神
去投奔的未来真的值得吗?
不过不是我能改变的。
明年我就是苦逼的高中生了。
我热爱的一切,也都将随着临川一中的
衡水模式而落幕。
OI,还有跑步,以及其他一些东西。
我的初中可以说就是一部跑步史。
现在我的 1500m 已经跑到了 4'32" 以内。
800m 跑进了 2'10"。
跑步让我知道,维持自律的方式唯有热爱。
失去 OI,失去跑步,失去朋友,失去自由
中国的高中带走了我们很多
带来了什么啊
一张录取通知书,真的值得用
我们的青春去交换吗?
说得有点多了。18:26。交代码去。
我不知道我用不到 10min 打这堆字意义何在。
但是,就这样。
CSP-S2 2026 rp = LLONG_MAX。
作尘埃,作晚霞,我们总会再见的吧
花风夏云,落水烟依
还有好多想说,奈何没时间了。
祝好。
再见。
打完 NOIP 就 AFO。
JX-S00418
subway.cpp
freopen("hub.in","r",stdin);
freopen("hub.out","w",stdout);
JX-S00421
hub.cpp
//hui chu yang li ma
今年会。
JX-S00424
crystal.cpp
freopen("crystal.in","r",stdin);
freopen("crystal.our","w",stdout);
100->0,百分可惜。
migrate.cpp
freopen("migrate.in","r",stdin);
freopen("migrate.our","w",stdout);
4->0,似是可惜。
JX-S00428
subway.cpp, migrate.cpp, hub.cpp 三个文件是一模一样的代码。
#include<bits/stdc++.h>
using namespace std;
int main(){
freopen("crystal.in","r",stdin);
freopen("crystal.out","w",stdout);
int a;
cin>>a;
cout<<a;
}
JX-S00431
crystal.cpp, migrate.cpp, hub.cpp
//Good luck
//Happy ending
subway.cpp
//Good luck
//FU CCF
//It's toooooooo difficult
//10 years OI empty
JX-S00432
int w[1000000],k[1000000];
int a[10000000][10000000];
int t[10000000][10000000];
又是一个觉得评测机电脑有无限内存的。
JX-S00440
migrate.cpp
reutrn 0;
JX-S00441
crystal.cpp
//ru guo ni kan dao zhe hang pin yin bing qie ba ta men pin chu lai le,na ni que shi hen wu liao.
//qwq
//mei ban fa zhi hui bao li.
翻译:
如果你看到这行拼音并且把它们拼出来了,那你确实很无聊。
qwq
没办法,只会暴力。
subway.cpp
//shi de, ni kan dao zhe hui fa xian
//wo dou shi pian fen de.
//qwq
翻译:
是的,你看到这会发现
我都是骗分的。
qwq
JX-S00443
subway.cpp
/*
Luogu uid: 1277793 Ciallo~
O(q(n + m))
md,wssb!
tmd, use 1.in and 2.ans to debug 10 min
*/
翻译:
洛谷 uid: 1277793 Ciallo~
O(q(n + m))
* 的,我是 **!
他 * 的尝试用 1.in 和 2.ans 来 debug,浪费 10min
migrate.cpp
/*
Luogu uid: 1277793 Ciallo~
O(n ^ 3)
*/
hub.cpp
/*
Luogu uid: 1277793 Ciallo~
O()
*/
这位在 hub 上捞到了 5 分。
JX-S00467
crystal.cpp, subway.cpp, migrate.cpp, hub.cpp 代码末尾均有一句
/*
wan yuan shen jiu le wo yi min
22:30
*/
翻译:
玩原神救了我一名
22:30
另外他也写 std::,看到这里感觉不是稀奇的事情了。
JX-S00470
crystal.cpp
//CSP-S 2026 JX
//start time: 22:30
//end time: 2:30
//do not forget to add freopen!
//stomach ache...
//nervous...
/* I can't spell Chinese...
* da ping yin le
*
* bu yao chi jiujiangxueyuan dui mian xiao chi jie de sheng hao he kao yu,
* quan shi huai de
*/
/* zui hou yi wu le ma
* wo zen me jiu chu san le
* shi jian guo de hao kuai
*/
/*
10 10
-600 -500 -400 -300 -20 -10 0 10 15 100
*/
/*
now points:100 + [32,40] + 56 = [188,196]
now time: 6:00
翻译:
CSP-S 2026 JX
开始时间:22:30
结束时间:2:30
别忘了加 freopen!
胃疼……
紧张……
我不会打出中文……
打拼音了
不要吃九江学院对面小吃街的生蚝和烤鱼,
全是坏的
最后一舞了吗
我怎么就初三了
时间过得好快
10 10
-600 -500 -400 -300 -20 -10 0 10 15 100
现在得分:100 + [32,40] + 56 = [188,196]
现在时间:6:00
subway.cpp
/*
* floyd hui zha haoxiang,bu guan le you fen jiu xing.
* wo ba suo you de dian jian chu lai
* dian fen wei zhan ting he zhan tai
* zhe ge di tie kou de tiao jian ying gai mei shen me yong
* dian de shu liang ying gai shi nd=10^4
* ran hou pao dijkstra? buxing,m hen da
* zhe yang you 12 ge dian 48 fen
* xian da zai shuo
*/
翻译:
Floyd 会炸好像,不管了,有分就行。
我把所有的点建出来
点分为站厅和站台
这个地铁口的条件应该没什么用
点的数量应该是 nd=10^4
然后跑 Dijkstra?不行,m 很大
这样有 12 个点 48 分
先打再说
migrate.cpp
O(n^3) 好像很好写
先写再说
我会 O(n^2 log n) 了,能跑 n=5000 吗?/疑问
* 的,调不出来
大样例过不去
调出来了
打了个特殊性质 B
JX-S00473
crystal.cpp
freopen("crystal2.in","r",stdin);
freopen("crystal.out","w",stdout);
其他部分能拼 5 分。可惜了。
JX-S00474
subway.cpp
void djstra(ll k){
JX-S00479
四道题均有:
ll gcd(ll x,ll y){
ll qpow(ll x,ll y,ll mod){
吓死我了以为是什么神仙数论做法。
原来代码中这两个函数没有使用。
JX-S00483
四题都把 "w" 写作 "s"(推测是记成了 save),以 crystal.cpp 为例。
freopen("crystal.in","r",stdin);
freopen("crystal.out","s",stdout);
其他部分可得 10+0+0+5 分。又一次感到可惜。
JX-S00492
crystal.cpp
#include<bits/stdc++.h>
#define ll long long
using namespace std;
const int maxn = 5e5 + 10;
ll m;
ll n,ans;
ll a[maxn],s[maxn];
int main()
{
freopen("crystal.in","r",stdin);
freopen("crystal.out","w",stdout);
scanf("%lld%lld",&n,&m);
for(ll i=1;i<=n;i++) scanf("%lld",&a[i]);
sort(a + 1,a + 1 + n,greater<ll>());
for(ll i=n;i>=1;i--) s[i] = s[i + 1] + a[i];
for(ll i=1;i<=n;i++)
{
if(((n - i) * a[i] - s[i + 1]) <= m) {printf("%lld\n",n - i + 1);return 0;}
//cout << s[i] << ' ';
}
return 0;
}
/*
70 pts
O(n log n)
AG.ZOE NB
*/
实际上写的是个假做法,实测可得 45 分。
500~599
JX-S00500
subway.cpp
//I hope everyone could get great grads!
翻译:
希望大家都取得优异的成绩!
grads 意味“毕业生”,应是 “grades”(成绩)的错拼。
JX-S00503
subway.cpp
#include<bits/stdc++.h>
using namespace std;
int main(){
freopen("subway.in","r",stdin);
freopen("subway.out","w",stdout);
cout<<"RP++";
return 0;
}
migrate.cpp
#include<bits/stdc++.h>
using namespace std;
long long c,t;
int main(){
freopen("migrate.in","r",stdin);
freopen("migrate.out","w",stdout);
cin>>c>>t;
for(int i=1;i<=t;i++){
cout<<1<<endl;
}
return 0;
}
把这代码放 hub 里可就有 5 分了。
但是。。。
hub.cpp
#include<bits/stdc++.h>
using namespace std;
long long c,t;
int main(){
freopen("hub.in","r",stdin);
freopen("hub,out","w",stdout);
cin>>c>>t;
for(int i=1;i<t;i++){
cout<<1<<endl;
}
cout<<2<<endl;
return 0;
}
注意文件读写中的逗号。
啊我只能说这位哥们运气不好。
祝下一次比赛 RP++!
JX-S00504
crystal.cpp
freopen("crystal.in","r",stdin);
freopen("cryatal.out","w",stdout);
其他代码在 CCF 的数据下能得 75 分(左指针每次只移动一次的分数,和 a 没开 long long 一个分),可惜。
JX-S00509
crystal.cpp
// Welcome to watch my bad code and sentences, My name is Chan.
// Yes, I was join the CSP-J and CSP-S.
// Maybe no one knowed me.
// Why did I used English to write this passage?
// I didn't know how to change the input method in Chinese.
// I said that in CSP-J.
// Oh my god, this problem was so difficult for me.
// I had no confidence to finish this program.
// I spent more than 3 hours to finish it.
// But now, I gave up and wrote my feelings.
// Could you understand how happy when I saw my code run simply.
// Three examples were Ok, but the last one I didn't know what error I made.
// I had to stopped.
// Bye.
// 6:23 p.m. Oct. 31
翻译:
欢迎来看我的烂代码和烂句子,我叫 Chan。
是的,我参加了 CSP-J 和 CSP-S。
也许没人认识我。
为什么我用英文写这段话?
因为我不会切换中文输入法。
我在 CSP-J 里说过这个。
天哪,这道题对我来说太难了。
我都没信心写完这个程序。
我花了三个多小时才写完它。
但现在,我放弃了,并写下了我的感受。
你能理解我看到自己的代码简单跑起来时有多开心吗。
三个样例都过了,但最后一个我不知道自己哪里错了。
我只能停下来了。
再见。
10 月 31 日下午 6:23
(原文中有多处语法错误,例如 was join, did I used 和 now I gave and wrote,似乎这位哥们对英语中的时态掌握不佳)
JX-S00510
crystal.cpp, subway.cpp, migrate.cpp
#define int long long // sikaoyifan...
思考一番还是加了 dill.
JX-S00511
hub.cpp
// 2026.CSP-J2/S2.me.rp=LONG_LONG_MAX;
这位哥们似乎是想写个伪代码。但是,左边的 2026.CSP-J2/S2.me.rp 以数字开头且有多处符号,不是合法变量名。因此作为祝福语它相当成功,作为伪代码它相当失败。不过还是祝这位哥们 RP++。
JX-S00522
subway.cpp
/*
bushi
zen me hui shi da mo ni,
wo te me bei da mo le,
QwQ
zhen de you dian bei e xin dao le,
gan xie oldstreet rang wo zuo guo cha bu duo de,
wo qu,
zhe long long zhen de hen fan a
QwQ, wo zhen fu le,
dan shi wo shi jue bu ke neng define int long long de!
*/
翻译:
不是
怎么会是大模拟,
我特么被大模拟搞了,
QwQ
真的有点被恶心到了,
感谢 oldstreet 让我做过差不多的,
我去,
这 long long 真的很烦啊
QwQ,我真服了,
但是我是绝不可能 define int long long 的!
啊,逻辑就是,题目过长,难懂,鉴定为大模拟?
migrate.cpp
/*
cai jie lun?
cai bu dui jiu si le awa
*/
翻译:
猜结论?
猜不对就完蛋了 awa
准确来说是“刻画形式”,刻画不对,那确实完蛋。不过在 CCF 的数据下也许也有不少分。
JX-S00526
hub.cpp
以下这个代码层层叠叠的看着就很神秘
交上去居然有 25 分?
#include<bits/stdc++.h>
using namespace std;
#define int long long
const int N = 1e2 + 5;
int f[N][N][N][3][2], siz[N], g[N][N][3][2];
int n, k;
void dfs(int u, int fa, vector<vector<int> > &G) {
f[u][0][1][0][0] = 0, f[u][1][0][1][1] = 0; siz[u] = 1;
for(auto v : G[u]) {
if(v == fa) continue;
dfs(v, u, G);
memset(g, 0x3f, sizeof(g));
for(int i = 0; i <= siz[u] && i <= k; i++)
for(int j = 0; j <= siz[v] && i + j <= k; j++)
for(int d1 = 0; d1 <= siz[u]; d1++)
for(int d2 = 0; d2 <= siz[v]; d2++)
for(int c1 = 0; c1 < 3; c1++)
for(int c2 = 0; c2 < 3; c2++)
for(int k1 = 0; k1 < 2; k1++)
for(int k2 = 0; k2 < 2; k2++)
if(c1 + c2 - (k1 && k2) <= 2){
g[i + j][!k1 ? max(d1, d2 + 1) : 0][c1 + c2 - (k1 && k2)][k1] = min(
max({f[u][i][d1][c1][k1], f[v][j][d2][c2][k2], d1 + d2, d1, d2}),
g[i + j][!k1 ? max(d1, d2 + 1) : 0][c1 + c2 - (k1 && k2)][k1]);
}
siz[u] += siz[v];
for(int i = 0; i <= siz[u] && i <= k; i++)
for(int d = 0; d <= siz[u]; d++)
for(int c = 0; c < 3; c++)
for(int kk = 0; kk < 2; kk++)
f[u][i][d][c][kk] = g[i][d][c][kk];
}
}
const int M = 1e3 + 5;
int f1[M][3][M][3][2], g1[3][M][3][2];
void dfs2(int u, int fa, vector<vector<int> > &G) {
f1[u][0][1][0][0] = 0, f1[u][1][0][1][1] = 0; siz[u] = 1;
for(auto v : G[u]) {
if(v == fa) continue;
dfs2(v, u, G);
memset(g1, 0x3f, sizeof(g1));
for(int i = 0; i <= siz[u] && i <= k; i++)
for(int j = 0; j <= siz[v] && i + j <= k; j++)
for(int d1 = 0; d1 <= siz[u]; d1++)
for(int d2 = 0; d2 <= siz[v]; d2++)
for(int c1 = 0; c1 < 3; c1++)
for(int c2 = 0; c2 < 3; c2++)
for(int k1 = 0; k1 < 2; k1++)
for(int k2 = 0; k2 < 2; k2++)
if(c1 + c2 - (k1 && k2) <= 2){
g1[i + j][!k1 ? max(d1, d2 + 1) : 0][c1 + c2 - (k1 && k2)][k1] = min(
max({f1[u][i][d1][c1][k1], f1[v][j][d2][c2][k2], d1 + d2, d1, d2}),
g1[i + j][!k1 ? max(d1, d2 + 1) : 0][c1 + c2 - (k1 && k2)][k1]);
}
siz[u] += siz[v];
for(int i = 0; i <= siz[u] && i <= k; i++)
for(int d = 0; d <= siz[u]; d++)
for(int c = 0; c < 3; c++)
for(int kk = 0; kk < 2; kk++)
f1[u][i][d][c][kk] = g1[i][d][c][kk];
}
}
void solve(int id) {
cin >> n >> k;
vector<vector<int> > G(n + 1);
for(int i = 1; i < n; i++) {
int u, v; cin >> u >> v;
G[u].push_back(v), G[v].push_back(u);
}
if(id <= 3) {
int ans = 0x3f3f3f3f3f3f3f3f;
for(int i = 0; i < (1 << n); i++) {
if(__builtin_popcount(i) != k) continue;
vector<int> vis(n + 1);
for(int j = 1; j <= n; j++)
if(i & (1 << j - 1)) vis[j] = 1;
vector<int> V(n + 1);
auto dfs = [&](auto &&self, int u, int fa) -> void {
V[u] = 1;
for(auto v : G[u]) {
if(v == fa) continue;
if(V[v]) continue; if(!vis[v]) continue;
self(self, v, u);
}
};
int cnt = 0;
for(int i = 1; i <= n; i++)
if(vis[i] && !V[i]) cnt++, dfs(dfs, i, 0);
if(cnt > 2) continue;
queue<int> q; vector<int> dis(n + 1, 0x3f3f3f3f3f3f3f3f);
for(int i = 1; i <= n; i++)
if(vis[i]) dis[i] = 0, q.push(i);
while(!q.empty()) {
int u = q.front(); q.pop();
for(auto v : G[u])
if(vis[v]) continue;
else vis[v] = 1, dis[v] = dis[u] + 1, q.push(v);
}
ans = min(ans, *max_element(dis.begin() + 1, dis.end()));
} cout << ans << '\n';
return;
} else if(id <= 6) {
memset(f, 0x3f, sizeof(f));
dfs(1, 0, G);
int ans = 0x3f3f3f3f3f3f3f3f;
for(int i = 0; i <= k; i++)
for(int d = 0; d <= n; d++)
for(int c = 0; c < 3; c++)
for(int kk = 0; kk < 2; kk++)
ans = min(ans, max(d, f[1][i][d][c][kk]));
cout << ans << '\n';
} else if(id == 7) {
memset(f1, 0x3f, sizeof(f1));
dfs2(1, 0, G);
int ans = 0x3f3f3f3f3f3f3f3f;
for(int i = 0; i <= k; i++)
for(int d = 0; d <= n; d++)
for(int c = 0; c < 3; c++)
for(int kk = 0; kk < 2; kk++)
ans = min(ans, max(d, f1[1][i][d][c][kk]));
cout << ans << '\n';
}
}
signed main() {
ios::sync_with_stdio(false);
cin.tie(0), cout.tie(0);
freopen("hub.in", "r", stdin);
freopen("hub.out", "w", stdout);
int id, t = 1;
cin >> id >> t;
while(t--) {
solve(id);
}
return 0;
}
JX-S00531
crystal.cpp
freopen("crytal.in","r",stdin);
freopen("crytal.out","w",stdout);
其他部分在官方数据下能得 35 分,可惜了。
JX-S00535
crystal.cpp
/*
write sth?
I often find myself lingering in the past...
huh? what are you waitting for?
*/
翻译:
写点什么?
我常常发现自己徘徊在过去……
嗯?你还在等什么?
subway.cpp
/*
O(n ^ 3 + d ^ 2 * q + d * m)?
sonanoka?
I love you CCF, please let me pass this question.
*listen and hear
the song is birds are singing.
*sitting down a while
and watch the flowers are blooming.
(huh, I forgot ;))
*/
翻译
O(n^3 + d^2 * q + d * m)?
そうなのか / 是这样吗?
我爱你 CCF,请让我过这道题吧。
*侧耳倾听
这首歌是鸟儿在歌唱。
*坐下片刻
看花儿正在绽放。
(呃,我忘了 ;))
(这位哥们拼日语少拼了一个 u)
migrate.cpp
int T, n;
ll m = num[1] * 2 - 1;
ans = max(0, n - m); //注:此处报编译错误
/*
graph agian?
gong xi _Memory ke yi cheng di le!
eee no, smells like math.
never mind.
these sea birds might migrate for potato chips.(^ ^
I'm your MIRRORED INSANITY!!!
*/
底下的注释之翻译:
又是图论?
恭喜 _Memory 可以称帝了!
呃不对,闻起来像数学。
算了。
这些海鸟可能会为了薯片而迁徙。(^ ^
我是你镜中的疯狂!!!
hub.cpp
/*
a, so that is end.
time really goes by chaos, huh?
not bad, if nothing goes wrong
*/
翻译:
啊,所以就这样结束了。
时间过得真是混乱啊,是吧?
还不错,如果不出什么差错的话。
JX-S00536
migrate.cpp
freopen("mlgrate.in","r",stdin);
freopen("mlgrate.out","w",stdout);
其他部分在官方数据下能得 4 分,似是可惜。
JX-S00542
subway.cpp, migrate.cpp, hub.cpp
//zhe ta ma shen me gui ti mu
//wo zuo qu si
//xie ge pi a
翻译:
这他 * 什么鬼题目
我做去死
写个屁啊
JX-S00545
subway.cpp, migrate.cpp, hub.cpp
每个文件都由 19240 个 67 组成的。
在 VS Code 下是如此壮观。
和一位。
JX-S00547
四个文件都使用了 using namespace std 并在关闭同步流时用了 std::。
using namespace std;
std::ios::sync_with_stdio(false);
std::cin.tie(0);
std::cout.tie(0);
JX-S00549
crystal.cpp
//18:16
//I can't understand what T4 tell me.
//I always recall the past...
//Where should I stop? I ask myself.
//Time is over.
//I finish my OI life here.
翻译:
18:16
我看不懂 T4 在说什么。
我常常追忆过去……
我该在哪里停留?我问我自己。
时间到了。
我的 OI 生涯于此结束。
subway.cpp
//16:50
//I don't remember how to write Floyd.
//I will AFO and learn whk.
翻译:
16:50
我忘记怎么写 Floyd 了。
我要 AFO 然后转战 whk 了。
JX-S00552
给自己的四个代码加 GPL 协议的来了:
(四个代码的开头。subway 则是 subway.cpp 其余两个代码都是 untitled.cxx)
/*
* crystal.cpp
*
* Copyright 2026 NOI <noi@G18-D07>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
* MA 02110-1301, USA.
*
*
*/
翻译:
/*
* crystal.cpp
*
* 版权所有 2026 NOI <noi@G18-D07>
*
* 本程序是自由软件;你可以依据自由软件基金会发布的
* GNU 通用公共许可证(GNU General Public License)的条款,
* 要么第 2 版,要么(由你选择)任何更新的版本,
* 来重新分发和/或修改它。
*
* 本程序的分发是希望它会有用,
* 但不提供任何担保;甚至不提供适销性
* 或特定用途适用性的默示担保。详见
* GNU 通用公共许可证。
*
* 你应该已经随本程序收到了 GNU 通用公共许可证的副本;
* 如果没有,请写信给自由软件基金会:
* Inc., 51 Franklin Street, Fifth Floor, Boston,
* MA 02110-1301, USA.
*
*
*/
还有第二关,所有程序的文件读写都写成了如下形式,以 crystal.cpp 为例:
freopen("math","r","crystal.in");
freopen("math","w","crystal.out");
这谁能绷得住。
JX-S00555
#include<bits/stdc++.h>
using namespace std;
int main(){
cout << "f**k subway!!!" << '\n';
return 0;
}
(原文已作处理)
JX-S00559
crystal.cpp
if(n>=3&&n<=5){
cout<<3;
return 0;
}
if(n>=6&&n<=9){
cout<<4;
return 0;
}
//注:此处省略 156 行。
if(n>=942&&n<=985){
cout<<44;
return 0;
}
if(n>=986&&n<=1030){
cout<<45;
return 0;
}
JX-S00564
crystal.cpp
// fail 100 -> 45
// just a small wrong /ll
// er fen + hua dong chaung kou
// **** ***
// why so hard
// afo 2026-10-31
翻译
100 变 45.
就是一个小错误 /ll
二分 + 滑动窗口
**** ***
为何如此难
AFO 于 2026-10-31
JX-S00567
crystal.cpp
//Hello!
//Maybe it can work and I have passed all examples!
//Can I pass the CSP-S 2026 T1? Enjoy the "video" on Luogu!
//My Luogu account's name is "Xiong guan man dao zhen ru tie". Yes, the poem of that person.
//
//And there is something interesting: Letter E and high-speed train.
翻译:
//你好!
//也许它能跑起来,而且我已经过了所有样例!
//我能通过 CSP-S 2026 T1 吗?去洛谷上欣赏“视频”吧!
//我的洛谷账号名叫“雄关漫道真如铁”。是的,就是那个人的诗。
//
//还有件有趣的事:字母 E 和高铁。
subway.cpp
//I forget Dijkstra!!!
//I am angry!!!
//In fact, I can take subway and use less time than walk to that Line in a station.
//It is too difficult and terrible for me to solve it!!!
//I must stop trying this problem for minutes.
//I want to [DATA REMOVED], but I never want to be not allowed to take part in CSP for 3 years.
// Maybe I should use DSU, but I have no time.
//
//I often recall the past.
//The life is taken a photo in my brain. I turn my memory into the clouds in the sky.
//Clouds are also different from each other, some are light, and some are heavy.
//I forget other passages nowadays. In fact, I never memorize them. However, I still remember this:
//Where should I stop? I ask myself.
//
//Emmm......I think that my English is not very well.
//
//Oh, is there anyone plays SCP:SL made by Northwood? It is free on Steam! Support it please miaowu~
翻译:
我忘了 Dijkstra!!!
我气死了!!!
事实上,我可以坐地铁,比在车站里走到那条线还省时间。
这道题对我来说太难、太可怕了!!!
我必须先停下这道题几分钟。
我想去[数据删除],但我绝不想被禁赛三年。
也许我应该用并查集,但我没时间了。
我常常追忆过去。
生命瞬间定格在脑海。我将背后的时间裁剪、折叠、蜷曲,揉捻成天上朵朵白云。
云朵之间亦有分别:积云厚重,而卷云飘渺。
如今我忘了其他段落。事实上,我从未记住过它们。但我仍记得这句:
我该在哪里停留?我问我自己。
呃……我觉得我英语不太好。
哦,有人在玩 Northwood 做的 SCP:SL 吗?Steam 上免费!请支持一下喵呜~
hub.cpp
inline void dc()
{
cout<<"Don't Hello, World!\n";
//Can I take part in the shows of strange things in CSP?
//I don't know how to tell you what I want to say by using English correctly.
}
翻译:
不你好,世界。
我可以进 CSP 迷惑行为大赏吗?
我不知该如何用英文准确描述我想说的。
JX-S00569
hub.cpp
#include<bits/sdtc++.h>
JX-S00575
hub.cpp
#include <iostream>
int main() {
std::cout << "RP++!!!";
return 0;
}
RP++!
同时这人这位哥们没有写 using namespace std; 而是在每一处该加 std:: 的加 std::。和 JX-S00193, JX-S00351 坐一桌。
JX-S00583
crystal.cpp
long long m,a[514514],ans,b[220],k,s[514514];
//Don't forget to upload!!!!!
//Don't forget to freopen!!!!
//Don't forget to ios::sync_with_stdio(0);cin.tie(0);cout.tie(0); !!!
//Don't forget long long
//Don't forget 2e5 or 5e5
subway.cpp
struct A{
int cnt,num;
}c[514514];
int C,n,m,f,q,w[514514],k,a[514514],t[514514],id,x[514514],y[514514],p[514514];
long long d1[514514][210],d2[514514];
vector<pair<int,int>>G[1114514];
bool vis[514514],fl[514514];
600~641
JX-S00600
#include <bits/stdc++.h>
using namespace std;
int main()
{
ios::sync_with_stdio(),cin.tie(0),cout.tie(0);
cout<<"I fack you!You are so hot.You are a beach!dog!";
return 0;
}
JX-S00610
crystal.cpp
//I am lxy_qwq(my luogu name), Maybe is my last CSP
//I think that I will die when I get the pts
//I can`t use string, tarjan and math
//I maybe will AFO. Bye.
//Thanks for my classmate of JK(Debug618, Groyhj, zenghaoran, cyrel, Snoozing, oceanfish
//Oldstreet and hyh) and my teacher of JK(dgl, shi jie di yi ke ai ying ying ying, Hevix and hzw).
//Bye.
//In addition:
//Debug618(his luogu name) love Groyhj(his luogu name)
//I think that Debug618 is zero because of his lazy;
//....
//I think we can add1 or del1
//so I waste 30min
//please input the text.......
翻译:
我是 lxy_qwq(我的洛谷名),也许这是我最后一次 CSP
我觉得等我拿到分的时候我会死掉
我不会 string、tarjan 和数学
我可能就要 AFO 了。再见。
感谢我在(JK,无法翻译)的同学们(Debug618、Groyhj、zenghaoran、cyrel、Snoozing、oceanfish
Oldstreet 和 hyh)以及我在(JK,无法翻译)的老师们(dgl、shi jie di yi ke ai ying ying ying、Hevix 和 hzw)。
再见。
另外:
Debug618(他的洛谷名)爱 Groyhj(他的洛谷名)
我觉得 Debug618 是滚木,因为他太懒了;
....
我觉得我们可以 add1 或者 del1
所以我浪费了 30min
请输入文本.......
subway.cpp
//T2-subway is st and meaningful
//why is st?
//because C of all of the example is zero, it is boy one zhi star
//and NO one tell me that A->B means B can go to A
//it also waste me 1h
//why is meaningful?
//because of B.
//B is tell me how to li yong n<=500
//When I see it, I kill T2 easily;
翻译:
T2-subway 这题很(st,无法翻译),也很有意义
为什么(st,无法翻译)?
因为所有样例的 C 都是 0,它是(boy one zhi star,无法翻译)。
而且没人告诉我 A->B 表示 B 能到 A
这也浪费了我 1 小时
为什么有意义?
因为 B。
B 告诉我怎么利用 n<=500
我看到它后,就轻松秒掉了 T2;
migrate.cpp
//I have 90min
//17:40 get 40pts
翻译:
还剩 90min
于 17:40 得到了 40 分
真 40 分,强啊!
hub.cpp
//cout << "Hello OI_____2023.1" << endl;
//cout << "Goodbye OI______2026.10.32" << endl;
//cout << "user: lxy_qwq" << endl;
翻译
OI 的旅程起源于 2023.1
结束于 2026.10.21
用户:lxy_qwq
JX-S00618
crystal.cpp, migrate.cpp, subway.cpp:
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<CodeBlocks_project_file>
<FileVersion major="1" minor="6" />
<Project>
<Option title="trystal" />
<Option pch_mode="2" />
<Option compiler="gcc" />
<Build>
<Target title="Debug">
<Option output="bin/Debug/trystal" prefix_auto="1" extension_auto="1" />
<Option object_output="obj/Debug/" />
<Option type="1" />
<Option compiler="gcc" />
<Compiler>
<Add option="-g" />
</Compiler>
</Target>
<Target title="Release">
<Option output="bin/Release/trystal" prefix_auto="1" extension_auto="1" />
<Option object_output="obj/Release/" />
<Option type="1" />
<Option compiler="gcc" />
<Compiler>
<Add option="-O2" />
</Compiler>
<Linker>
<Add option="-s" />
</Linker>
</Target>
</Build>
<Compiler>
<Add option="-Wall" />
</Compiler>
<Unit filename="trystal.cpp" />
<Extensions />
</Project>
</CodeBlocks_project_file>
cb 配置文件?和一位。
subway.cpp
freopen("subway.in","r","stdin")
freopen("subway.out","w","stdout")
coust int M=5e5+8
JX-S00622
crystal.cpp, subway.cpp, migrate.cpp
/*++rp*/
++rp!
JX-S00625
subway.cpp
cout<<random_device(1,1E5);
JX-S00628
crystal.cpp
// oh no, i can't work out any problem, i will down 555!
翻译:
哦不,我一题都不会,我要跳了!
JX-S00630
hub.cpp
cin>>shushu>>shushushu;
t[shushu][shushushu]=1;
t[shushushu][shushu]=1;
num[shushu]++;
num[shushushu]++;
if(maxx<num[shushu])
{
maxx=num[shushu];
maxxx=shushu;
}
if(maxx<num[shushushu])
{
maxx=num[shushushu];
maxxx=shushushu;
}
树树,树树树。
JX-S00632
crystal.cpp
/*
😂
💪👕🖕
👖
👣
😂
💪👕🖕
👖
👣
*/
何意味。
JX-S00634
freopen("migrate.in","r",stdin);
freopen("migrate.out","w",stdout);
其他部分在官方数据下能得 4 分,似是可惜。
颁奖
各题最长代码奖(去除空白字符)
-
crystal: JX-S00510 2114B
-
subway: JX-S00545 38480B
-
migrate: JX-S00545 38480B
-
hub: JX-S00545 38480B
各题最短代码奖(非空,去除空白字符)
-
crystal: JX-S00066 41B
-
subway: JX-S00191 2B
-
migrate: JX-S00191 2B
-
hub: JX-S00110 1B
全部代码长度前 10 名:
-
hub: JX-S00545 38480B
-
migrate: JX-S00545 38480B
-
subway: JX-S00545 38480B
-
subway: JX-S00330 24548B
-
subway: JX-S00338 11295B
-
subway: JX-S00464 3717B
-
hub: JX-S00167 3280B
-
hub: JX-S00526 2997B
-
migrate: JX-S00463 2949B
-
subway: JX-S00028 2821B