SC CSP-S 2026 迷惑行为大赏
Risen_Wind · · 休闲·娱乐
皇帝轮流做,今年到我家。
统计
下列数据来自 VSCode。
freopen 共在 6138 个文件中有 12552 个结果,其中 //freopen 共在 78 个文件中有 184 个结果。
bits\stdc++.h 在 3 个文件中共有 3 个结果,经过作者观察有两份代码注释掉了这一句。
rp 共在 57 个文件中出现 552 次,sto 共在 1 个文件中出现 10 次(主要用作变量名),orz 共在 6 个文件中出现 14 次,AK 共在 31 个文件中出现 50 次,IOI 共在 7 个文件中出现 8 次。
114514 共在 18 个文件中出现 25 次,1919810 共在 1 个文件中出现 1 次。
f**k 共在 1 个文件中出现 2 次,CCF 共在 36 个文件中出现 16596 次。
qwq 共在 51 个文件中出现 1501 次,awa 共在 17 个文件中出现 40 次。
喵 共在 24 个文件中出现 53 次。
一、固定部分代码展示(SC-S00001 到 SC-S00200)
SC-S00001
你好 lmh120802。
crystal.cpp:
/*
AC
in 15:14
Yessssssssssssssssssssssssssssssssssssssssss
听说00001容易上奇葩大赏,快把我弄上去
luogu:lmh120802,求关注QAQ
*/
subway:
建边太难了啊啊啊啊啊啊啊
根本没有这么难的CSP-S
-----------你只是怕了
*/
注意到他没有打 /*,让我们为他默哀。
SC-S00003
你好 zhz_cptbtptp。
hub.cpp:
/*
最后20分钟开始写的
这英改师我的最后一舞,因为明年就要高考了
希望有大佬会做sc迷惑行为大赏
诈骗一下
//freopen("hub.in","r",stdin);
//freopen("hub.out","w",stdout);
awa
luogu:zhz_cptbtptp
寄了XP
Miku Miku oo ee oo
Hallo
Am I working right today
I wonna watch the sunrise
I wonna be a part of something
Can you feel me in here
妄想感伤代偿联盟
不要相信T氏的话
爱言叶Ⅰ~Ⅴ
兔子洞
神的随波逐流
呐呐呐
好
歌姬失格
千本樱
时间不够了,就到这里了......
homo1145141919810
*/
SC-S00008
输出样例人。
migrate.cpp:
#include <bits/stdc++.h>
using namespace std;
int main(){
freopen("migrate.in","r",stdin);
freopen("migrate.out","w",stdout);
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);
cout<<1<<endl<<2;
return 0;
}
SC-S00010
不可以总司令。
migrate.cpp:
#include<bits/stdc++.h>
using namespace std;
#define int long long
signed main(){
// ios::sync_with_stdio(0);
// cin.tie(0);
// cout.tie(0);
freopen("migrate.in","r",stdin);
freopen("migrate.out","w",stdout);
int c,t;
cin>>c>>t;
while(t--){
cout<<"0\n";
}
return 0;
}
SC-S00011
暂时不知道在写什么。
crystal.cpp:
#include<bits/stdc++.h>
namespace std;
map.a [1000005];
main(){
int m,n,t;
cout<<"32 17";
alignas getenv_s(23);
threadlocinfo wcrtomb_s(1);
threadlocinfo strncat_s(n);
long long cmp.a;
switch (1) {
case 1:
for(int i=0;i<=0;i++){
do{
int YourFunctionName(int YourParaments){
//TODO
return 0;
}
}while(1);
t++
}
while(2){
dynamic_cast
cin
}
break;
}
return 0;
}
据统计,这个人的四份代码均使用了这种未知语言。如果有人能破解这种语言,欢迎向我们投稿。
SC-S00013
zhangjizhi_zako 你好,以及 love ccf 环节。
hub.cpp:
/*
洛谷:723989(zhangjizhi_zako)
放弃写T4了。
只希望T2能多卡过几个点吧。
还有就是T1别挂,但我拍了十分钟都没啥事那也不太可能挂。
我真的能赢吗?
I will love ccf if my T2 gets over 60pts.
--------------------------ciallo(∠·ω<)⌒☆ ---------------------------------
## CSP游记(简略版)
没睡好,优势不在我啊
策略就是尽可能过掉T1,T2拿高分,T3T4骗eps分。
开赛。
哇这个 T1 这么小清新?
欸怎么没过大样例,哦哦哦唐了。
过了大样例,挂到后台拍一下。
看 T2.
花了 INF s 看懂题意。
不就是个最短路嘛~不对,全源最短路+n<=5e5!
怎么做啊???
发现其实本质上是个二分图, 写了个 O(md+n^3+nm+qn) 的做法,本地2s,希望能多过几个点。
T3 完全不会,写骗分跑路。
T4 更不会。
CCF!你在干什么!今年真的有DP吗???(还是说T3是?不像啊)
不知道有没有 1=,今年再没有就真的区完了。
虽然但是:CSP.rp++;
*/
SC-S00016
不可以总司令。
subway.cpp:
#include<bits/stdc++.h>
using namespace std;
int n,m;
int main(){
freopen("subway.in","r",stdin);
freopen("subway.out","w",stdout);
cin>>n>>m;
for(int i=1;i<=m;i++){
cout<<1<<endl;
}
return 0;
}
SC-S00017
做梦人。
crystal.cpp:
////?????? 4 x
/*
假装我能拿45
[0,75]
等等等总分连100分都没有我玩啥啊
119
距离考试结束还有不到4分钟
今年就初三了
要是不行都话估计就要短暂afo了
好难受啊比赛前几天不予许我请假训练啥意思啊
好崩溃啊班主任你干嘛
我又不能裸文化上七中还不让我走oi几个意思啊
难受啊兄弟
其实说是短暂afo但是确实不太清楚高中会不会真的就捡不起来了
哎难受啊
要提交了
晚安
世界毁灭vvv
求保佑
求119 1=(做梦
*/
优化城市建设。
subway.cpp:
//44
/*
从地铁口走进去要那么久吗?
*/
交友不慎。
hub.cpp:
/*
不是不考高数符号吗咋回事啊
我一个没看懂啥意思啊
???随机猜测题目含义
qyl你牛大了
居然敢骗我说不用背符号含义
让我阅读理解一下
最少条数的最大值最小是吧。。?
呃呃呃
全球oi实力上升100倍而我不变
*/
还有自编小说环节?
SC-S00018
默哀一秒。
crystal.cpp:
freopen("r","crystal.in",stdin);
freopen("w","crystal.out",stdout);
MLE 再默哀一秒。
subway.cpp:
int a[505][500005],t[505][500005];
根据统计,这个人四份代码的 freopen 均使用上述格式。
SC-S00024
输入输出混乱人。
crystal.cpp:
#include<bits/stdc++.h>
using namespace std;
int a[100005];
int main(){
freopen("crystal.in","w",stdin);
freopen("crystal.out","r",stdout);
long long n,m;
cin >> n >> m;
for(int i = 1;i <= n;i++){
cin >> a[i];
}
cout << "2";
return 0;
}
SC-S00028
这是走错考场了吧。
crystal.cpp:
#include <iostream>
else <<"n"<<;
else <<"m"<<;
for i in range(1 <= i <= n){
else << int(n) <<;
else << int(n) <<;
range(0);
}
for i in range(n*m);
for j in range(i++);
if n % 2 == 0;
i++
eles j++;
int (crystal.in);
for crystal.in in range(n++);
for crystal.in in range(m++);
if crystal.in % 2 != i or j;
range(0);
int(crystal.in++);
int(i++);
int(j++);
i == a;
for crystal.in in(crystal.in++);
if crystal.in % 5 == 0;
crystal.in / 5;
int (crystal.in);
for crystal.in in(i++);
crystal.in += i and j;
range(0);
else crystal.in ++;
range(0);
else << crystal.in <<;
还有不注释环节。
hub.cpp:
题目:hub,语言:C++
SC-S00038
输出大样例人。
subway.cpp:
#include<bits/stdc++.h>
using namespace std;
const int N=5e5+5;
int main(){
freopen("subway.in","r",stdin);
freopen("subway.out","w",stdout);
int c,n,m,d,q,w[N]={};
cin>>c>>n>>m>>d>>q;
for(int i=1;i<=m;i++){
cin>>w[i];
}
if(n==3&&m==7&&d==20&&q==2){
cout<<"32\n17";
}else if(n==2&&m==5&&d==20&&q==2){
cout<<"35\n16";
}else if(n==15&&m==136&&d==20&&q==200){
cout<<"341\n667\n1255\n775\n558\n863\n540\n250\n1088\n1225\n1257\n360\n758\n703\n474\n357\n791\n780\n1015\n222\n212\n458\n570\n1429\n1052\n263\n874\n392\n1247\n1036\n426\n291\n292\n1342\n1339\n267\n632\n797\n232\n446\n496\n638\n899\n408\n914\n516\n336\n963\n1181\n589\n389\n178\n762\n340\n974\n677\n527\n281\n512\n1069\n509\n653\n437\n1074\n569\n1331\n236\n692\n1059\n402\n1058\n241\n285\n121\n422\n262\n577\n593\n398\n359\n506\n402\n926\n510\n639\n709\n329\n808\n94\n1314\n329\n795\n592\n391\n786\n349\n576\n405\n843\n464\n395\n634\n601\n814\n998\n1380\n1200\n985\n862\n683\n304\n343\n500\n538\n536\n811\n722\n292\n431\n368\n985\n487\n277\n205\n329\n1248\n837\n965\n765\n707\n1047\n355\n666\n565\n407\n228\n690\n1175\n126\n1015\n461\n235\n354\n100\n758\n388\n839\n574\n553\n349\n330\n659\n438\n352\n1347\n879\n897\n266\n313\n1072\n1246\n512\n285\n430\n724\n965\n949\n1072\n295\n475\n348\n1188\n153\n171\n132\n638\n664\n306\n841\n1154\n831\n1072\n523\n358\n608\n256\n1230\n300\n617\n1342\n1500\n268\n250\n280\n389\n665\n624\n667\n693\n297";
}else{
for(int i=1;i<=q;i++){
cout<<w[i]<<"\n";
}
}
return 0;
}
SC-S00039
无首无尾人。
subway.cpp:
main(){}
migrate.cpp:
main(){}
hub.cpp:
main(){}
SC-S00042
啥也没有。
hub.cpp:
#include<bits/stdc++.h>
#define int long long
using namespace std;
signed main(){
freopen("hub.in","r",stdin);
freopen("hub.out","w",stdout);
ios::sync_with_stdio(false),cin.tie(0),cout.tie(0);
return 0;
}
SC-S00044
斜杠斜杠人。
subway.cpp:
//
hub.cpp:
//
SC-S00046
这是什么原理?
migrate.cpp:
#include<bits/stdc++.h>
using namespace std;
int x[260001];
int main(){
freopen("migrate.in","r",stdin);
freopen("migrate.out","w",stdout);
int c,t,n,d;
cin>>c>>t;
for(int i=1;i<=t;i++){
cin>>n>>d;
for(int i=1;i<=n;i++){
cin>>x[i];
}
cout<<n-3<<endl;
}
}
SC-S00048
滚木。
subway.cpp:
#include<bits/stdc++.h>
using namespace std ;
int main(){
freopen("subway.in" , "r" , stdin);
freopen("subway.out" , "w" , stdout);
return 0;
}
SC-S00055
有点耗 RP。
subway.cpp:
#include<bits/stdc++.h>
using namespace std;
const int N=1e5+10;
int w[5*N];
struct node{
int k,t;
}a[N/10][N/10];
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<=m;i++) cin>>w[i];
for(int i=1;i<=n;i++)
{
int l;
cin>>l;
for(int j=1;j<=l;j++)
{
cin>>a[l][j].k>>a[l][j].t;
}
}
while(q--)
{
int s,f;
cin>>s>>f;
cout<<mt19937(time(0))<<"\n";
}
return 0;
}
SC-S00057
许愿人。
subway.cpp:
//许愿塔露拉QwQ
SC-S00060
CE 人(亮点自寻)。
subway.cpp:
#include<bits/stdc++.h>
using namespace std;
int main(){
freopen("subway.in", "r", stdin);
freopen("subway.out", "w", stdout);
const long long N=1e7+10;
long long c, n, m, d, p;
cin>>c>>n>>m>>d>>p;
for(int i=1;i<=m;i++){
cin>>w[i];
}
return 0;
}
SC-S00064
聪明人。
subway.cpp:
//其实打个车步数不就一直是0了吗
rand() 随机人。
hub.cpp:
#include<bits/stdc++.h>
using namespace std;
int main(){
ios::sync_with_stdio(false),cin.tie(0);
freopen("hub.in","r",stdin);
freopen("hub.out","w",stdout);
int c,t;cin>>c>>t;
srand(time(NULL));
while(t--) cout<<rand()<<'\n';
return 0;
}
SC-S00065
祝好。
subway.cpp:
// freopen("subway.in","r",stdin);
// freopen("subway.out","w",stdout);
SC-S00067
输出大样例 2.0。
subway.cpp:
#include<bits/stdc++.h>
using namespace std;
int main(){
freopen("subway.in","r",stdin);
freopen("subway.out","w",stdout);
cout<<"35 16";
}
migrate.cpp:
#include<bits/stdc++.h>
using namespace std;
int main(){
freopen("migrate.in","r",stdin);
freopen("migrate.out","w",stdout);
cout<<6800625333<<endl<<6247500<<endl<<6242502<<endl<<4998<<endl<<9994<<endl<<0<<endl<<0<<endl<<0<<endl<<2<<endl<<1<<endl<<0<<endl<<2<<endl<<3<<endl<<6<<endl<<0<<endl<<2;
}
SC-S00068
滚木 2.0。
subway.cpp:
#include<bits/stdc++.h>
using namespace std;
int main()
{
}
hub.cpp:
#include<bits/stdc++.h>
using namespace std;
int main()
{
}
SC-S00069
祝好。
subway.cpp:
// freopen("subway.in","r",stdin);
// freopen("subway.out","w",stdout);
还是别了。
/*
f**king CCF
f**king CCF
f**king CCF
f**king CCF
f**king CCF
f**king CCF
f**king CCF
f**king CCF
f**king CCF
f**king CCF
f**king CCF
f**king CCF
f**king CCF
f**king CCF
f**king CCF
f**king CCF
f**king CCF
f**king CCF
f**king CCF
f**king CCFf**king CCF
*/
根据统计,这个入打了大概 124 个 f**king CCF,上面为部分展示。
SC-S00073
祝好。
migrate.cpp:
//freopen("migrate.in","r",stdin);
//freopen("migrate.out","w",stdout);
SC-S00077
头文件不开完人。
subway.cpp:
#include<iostream>
using namespace std;
int sum = 0;
vector<int> g[1000005];
SC-S00078
测试空间人。
crystal.cpp:
long long m,a[N],hx[1000000000000],mxx=0,maxn=0;
SC-S00079
保佑人。
crystal.cpp:
//崔SH,我把你写进代码里,希望你能保佑我过
SC-S00080
未知语言 3.0。
crystal.cpp:
include<crystal.in>{
int=a
int=n(n>=1)
int=m(m>=0)
int=i
if{n=i;m++
}
max(m++)
if{a=i++;
a++
}
max(a++)
while{
m++}
cout<<m<<std::
return 0
}
据统计,这个人的四份代码均使用了这种不知名语言。
SC-S00081
1 人。
hub.cpp:
1
SC-S00082
qwq rp++ 人。
crystal.cpp:
//qwq rp++!
SC-S00085
CE 人 2.0。
subway.cpp:
#include<bits/stdc++.h>
using namespace std;
const int N(5e5 + 10);
int c,n,m,d,q;
vector<pair<int,int> > a[N];
int time[N];
int main(){
freopen("subway.in","r",stdin);
freopen("subway.out","w",stdout);
ios::sync_with_stdio(0);
cin.tie(0);
cout.tie(0);
cin>>c>>n>>m>>d>>q;
for(int i = 1;i <= m;i++){
cin>>time[i];
}
cout<<37<<endl<<49<<endl<<54<<endl<<15<<endl;
return 0;
}
SC-S00086
写回忆录人。
/*
luogu 的帅女美哥们你们好
我是freopen("hub.in","w",stdin);
同时还有我的孪生兄弟freopen("hub.out","r",stdin);
还有int mian(){}
不管了最后一届甚至不能AK 数值膨胀给我干爆了
300分走人了哎哎
但是说吧,两年oi三角洲时长上升1000h
我不禁要问我在干啥,哈哈哈至少耍起耍爽了不是吗
欧耶耶
人生几十年总会有风雨来陪
哦!
猜猜蚁人去哪里了?
灭建国不跟我们玩了,这下玩大了
我真的特别爱你,我等你回来
静默行动 他们不会察觉 你太大意了 嘘 来制造点恐慌吧
玩三角洲+烟雨kksk 菜菜 求带
oi两年学到了很多 很多
真的 很多
*/
#include<bits/stdc++.h>
using namespace std;
int c,t,n,k,b,v,s,l;
int main(){
cin>>k>>s>>k>>b>>l;
cout<<"zdjd?";
cout<<"Wrong Answer.";
}
/*
比如两年里就学到了露娜总裁全点位,鸟兽兽黑市炸总裁之类的xvx
WA的结果 不尽人意啊
*/
SC-S00088
献祭人的人。
migrate.cpp:
//献祭:
//ZJH AYT ZCL ZCX YBL WWJX HZ WYJ ZXH ZZJ FTX WJQ SZH SK HHM YJS LYZ WYX PYZ ZMZ KRE LXL ZCH LYC SYJ WJT YZY ZLF HYJ ZYC LZX ZHY
//WDW ZYJ YSM WXQ LYX ZMH DHC HLY PLX RKC GEL
//各10000年阳寿换一个测试点对
SC-S00093
不写 freopen 人。
subway.cpp:
ios::sync_with_stdio(0);
cin.tie(0),cout.tie(0);
cin >> c >> n >> m >> d >> q;
SC-S00096
吾日三省吾身。
crystal.cpp:
//重要福瑞open(请检查文件名是否对应)
freopen("crystal.in","r",stdin);
freopen("crystal.out","w",stdout);
//解绑输入输出恋人关系(禁用scanf和printf)
认命了。
hub.cpp:
//听天由命
SC-S00097
复制题目人。
subway.cpp:
地铁(subway)
【题目描述】
B 市共有 m 个地铁站,编号为 1 到 m。每个地铁站都有一个站厅,地铁口与站厅
之间有一条通道,往返耗时相同。从第 v (1 ≤ v ≤ m) 个地铁站的地铁口走到站厅需要
wv 的时间。
B 市共有 n 条地铁线路,编号为 1 到 n,其中第 i (1 ≤ i ≤ n) 条线路经过 ki 个地
铁站,编号依次为 ai,1, ai,2, . . . , ai,ki。在第 ai,j (1 ≤ j ≤ ki) 个地铁站处,从站厅走到第 i
条线路的站台需要 ti,j 的时间,往返耗时相同。同一条线路不会重复经过同一个地铁站,
即 ai,1, ai,2, . . . , ai,ki 两两不同。
由于空间有限,每个地铁站最多有 d 条线路经过。此外,B 市的地铁网络是连通的,
即任意两个地铁站都可以通过若干条线路互相到达。
小 R 有 q 个出行计划。对于第 r (1 ≤ r ≤ q) 个出行计划,小 R 将从第 xr 个地铁
站的地铁口出发,乘坐地铁到达第 yr 个地铁站的地铁口,途中可能进行若干次站内换
乘。每次站内换乘都需要从一条线路的站台先走到站厅,再从站厅走到另一条线路的站
台。每个出行计划的总步行时间为进出站和换乘的步行时间之和。小 R 希望每个出行
计划的总步行时间都尽可能少。
你需要帮助小 R 求出,每个出行计划的最小总步行时间。
【输入格式】
从文件 subway.in 中读入数据。
输入的第一行包含五个非负整数 c, n, m, d, q,分别表示测试点编号、地铁线路数、
地铁站数、每个地铁站最多被几条线路经过,以及出行计划数。特别地,若 c = 0,则
该测试点为样例。
输入的第二行包含 m 个正整数 w1, w2, . . . , wm,依次表示从每个地铁站的地铁口走
到站厅需要的时间。
输入的第 i + 2 (1 ≤ i ≤ n) 行包含 1 + 2ki 个正整数,其中第一个正整数为 ki,表
示第 i 条线路经过的地铁站数;接下来 2ki 个正整数为 ai,1, ti,1, ai,2, ti,2, . . . , ai,ki
, ti,ki,其
中 ai,j 表示第 i 条线路经过的第 j 个地铁站,ti,j 表示从该地铁站的站厅走到第 i 条线
路的站台需要的时间。
输入的第 r + n + 2 (1 ≤ r ≤ q) 行包含两个正整数 xr, yr,分别表示第 r 个出行计
划的起点和终点所在的地铁站编号。
【输出格式】
输出到文件 subway.out 中。
第 4 页 共 13 页
2026 CCF 非专业级软件能力认证 CSP-J/S 2026 第二轮 提高组 地铁(subway)
输出 q 行,其中第 r (1 ≤ r ≤ q) 行包含一个非负整数,表示第 r 个出行计划的最
小总步行时间。
【样例 1 输入】
1 0 2 5 20 2
2 4 1 9 2 5
3 3 1 5 2 7 4 6
4 3 2 3 3 4 5 7
5 1 3
6 1 2
【样例 1 输出】
1 32
2 17
【样例 1 解释】
B 市有 5 个地铁站,从各地铁口走到站厅需要的时间分别为 4, 1, 9, 2, 5。
B 市有 2 条地铁线路,其中第 1 条线路依次经过第 1, 2, 4 个地铁站,第 2 条线路依
次经过第 2, 3, 5 个地铁站,两条线路在第 2 个地铁站相交。
对于第 1 个出行计划,小 R 将从第 1 个地铁站前往第 3 个地铁站:他可以先从第
1 个地铁站的地铁口走到站厅,再走到第 1 条线路的站台,乘坐第 1 条线路到达第 2 个
地铁站后走回站厅,再走到第 2 条线路的站台,乘坐第 2 条线路到达第 3 个地铁站后
走回站厅,最后走到第 3 个地铁站的地铁口,总步行时间为
w1 + t1,1 + (t1,2 + t2,2) + t2,3 + w3 = 4 + 5 + (7 + 3) + 4 + 9 = 32.
对于第 2 个出行计划,小 R 将从第 1 个地铁站前往第 2 个地铁站:他可以先从第
1 个地铁站的地铁口走到站厅,再走到第 1 条线路的站台,乘坐第 1 条线路到达第 2 个
地铁站后走回站厅,最后走到第 2 个地铁站的地铁口,总步行时间为
w1 + t1,1 + t1,2 + w2 = 4 + 5 + 7 + 1 = 17.
【样例 2 输入】
第 5 页 共 13 页
2026 CCF 非专业级软件能力认证 CSP-J/S 2026 第二轮 提高组 地铁(subway)
1 0 3 7 20 2
2 8 3 6 1 7 2 9
3 3 1 4 2 5 5 100
4 3 2 6 3 1 7 2
5 4 3 2 5 100 4 6 6 7
6 1 6
7 2 3
【样例 2 输出】
1 35
2 16
【样例 2 解释】
B 市有 7 个地铁站与 3 条地铁线路,其中第 1 条线路依次经过第 1, 2, 5 个地铁站,
第 2 条线路依次经过第 2, 3, 7 个地铁站,第 3 条线路依次经过第 3, 5, 4, 6 个地铁站。
对于第 1 个出行计划,小 R 将从第 1 个地铁站前往第 6 个地铁站:他可以先从第
1 个地铁站的地铁口走到站厅,再走到第 1 条线路的站台,乘坐第 1 条线路到达第 2 个
地铁站后走回站厅,再走到第 2 条线路的站台,乘坐第 2 条线路到达第 3 个地铁站后
走回站厅,再走到第 3 条线路的站台,乘坐第 3 条线路到达第 6 个地铁站后走回站厅,
最后走到第 6 个地铁站的地铁口,总步行时间为
w1 + t1,1 + (t1,2 + t2,2) + (t2,3 + t3,3) + t3,6 + w6 = 35.
对于第 2 个出行计划,小 R 将从第 2 个地铁站前往第 3 个地铁站:他可以先从第
2 个地铁站的地铁口走到站厅,再走到第 2 条线路的站台,乘坐第 2 条线路到达第 3 个
地铁站后走回站厅,最后走到第 3 个地铁站的地铁口,总步行时间为
w2 + t2,2 + t2,3 + w3 = 16.
【样例 3】
见题目目录下的 subway/3.in 与 subway/3.ans。
该样例满足测试点 4 ∼ 6 的约束条件。
【样例 4】
见题目目录下的 subway/4.in 与 subway/4.ans。
该样例满足测试点 9 ∼ 11 的约束条件。
第 6 页 共 13 页
2026 CCF 非专业级软件能力认证 CSP-J/S 2026 第二轮 提高组 地铁(subway)
【样例 5】
见题目目录下的 subway/5.in 与 subway/5.ans。
该样例满足测试点 12 ∼ 15 的约束条件。
【样例 6】
见题目目录下的 subway/6.in 与 subway/6.ans。
该样例满足测试点 16 ∼ 19 的约束条件。
【样例 7】
见题目目录下的 subway/7.in 与 subway/7.ans。
该样例满足测试点 22, 23 的约束条件。
【数据范围】
对于所有测试数据,均有:
• 0 ≤ c ≤ 25,1 ≤ n ≤ 500,1 ≤ m ≤
∑n
i=1 ki ≤ 5 × 105,1 ≤ d ≤ 20,1 ≤ q ≤ 105;
• 对于所有 v (1 ≤ v ≤ m),均有 1 ≤ wv ≤ 109;
• 对于所有 i (1 ≤ i ≤ n),均有 1 ≤ ki ≤ m;
• 对于所有 i, j (1 ≤ i ≤ n, 1 ≤ j ≤ ki),均有 1 ≤ ai,j ≤ m,1 ≤ ti,j ≤ 109;
• 对于所有 i (1 ≤ i ≤ n),均有 ai,1, ai,2, . . . , ai,ki 两两不同;
• 对于所有 v (1 ≤ v ≤ m),经过第 v 个地铁站的线路数均不超过 d;
• 任意两个地铁站都可以通过若干条线路互相到达;
• 对于所有 r (1 ≤ r ≤ q),均有 1 ≤ xr, yr ≤ m,且 xr ̸= yr。
测试点编号 n ≤
∑n
i=1 ki ≤ d ≤ q ≤ 特殊性质
1 ∼ 3 3 10
20
10 无
4 ∼ 6 50 300
200
7, 8 200 400
A
9 ∼ 11
500
1 000 105
12 ∼ 15 2 × 104 2 000
B
16 ∼ 19
5 × 105 105
20, 21 2
22, 23 无
500
2
24, 25 20
特殊性质 A:每条线路至多经过 2 个地铁站,即对于所有 i (1 ≤ i ≤ n),均有 ki ≤ 2。
特殊性质 B:对于所有线路经过的所有地铁站,从站厅走到对应线路站台的步行时
间都相同,即存在正整数 T,使得对于所有 i, j (1 ≤ i ≤ n, 1 ≤ j ≤ ki),均有 ti,j = T。
根据统计,这位老哥吧 T3 和 T4 的题面都复制下来了。
SC-S00098
不开 freopen 人 2.0。
crystal.cpp:
int n,m;
cin>>n>>m;
据统计,这个人四道题均没有开 freopen,让我们为他默哀。
SC-S00101
bu fu xi ren.
subway.cpp:
//wangji zuiduanlu zem xie le www
SC-S00102
打表人。
subway.cpp:
#include<bits/stdc++.h>
using namespace std;
int test1[100001]={32,17,0};
int test2[100001]={35,16,0};
int test3[100001]={341,667,1255,775,558,863,540,250,1088,1225,1257,360,758,703,474,357,791,780,1015,222,212,458,570,1429,1052,263,874,392,1247,1036,426,291,292,1342,1339,267,632,797,232,446,496,638,899,408,914,516,336,963,1181,589,389,178,762,340,974,677,527,281,512,1069,509,653,437,1074,569,1331,236,692,1059,402,1058,241,285,121,422,262,577,593,398,359,506,402,926,510,639,709,329,808,94,1314,329,795,592,391,786,349,576,405,843,464,395,634,601,814,998,1380,1200,985,862,683,304,343,500,538,536,811,722,292,431,368,985,487,277,205,329,1248,837,965,765,707,1047,355,666,565,407,228,690,1175,126,1015,461,235,354,100,758,388,839,574,553,349,330,659,438,352,1347,879,897,266,313,1072,1246,512,285,430,724,965,949,1072,295,475,348,1188,153,171,132,638,664,306,841,1154,831,1072,523,358,608,256,1230,300,617,1342,1500,268,250,280,389,665,624,667,693,297,0};
int test4[100001]={12180,33389,12598,14797,19279,2438,33951,12464,30992,8642,35738,37449,27753,3526,10081,24800,33005,10990,4046,4120,4415,30335,4248,34842,18053,10915,5728,30612,20318,15837,1021,4984,8296,11956,9468,19112,22681,15408,30544,11703,20085,25300,4985,7482,5212,19503,6516,1076,12516,10696,4360,3335,12011,2566,35804,4899,37448,17986,28690,843,25055,7945,26021,387,3483,16578,1408,914,22262,5278,3914,9284,18356,31301,17086,8077,30974,1020,25049,8265,21963,23671,1535,1765,16076,21375,6488,4634,9017,6564,26443,12342,21806,6387,29501,21917,7044,16840,5004,3742,40658,20558,1974,14351,24447,2063,41381,15537,14290,8665,10425,25468,36821,43765,4696,455,2248,26053,22145,22258,15236,7206,24128,20251,13569,6937,9109,13810,17794,2703,9256,16095,25780,19380,17170,28631,27114,20194,28471,12199,4571,4407,17754,25690,18572,1023,20006,21026,13427,15026,9377,13732,8840,4554,15792,25557,4153,19177,...
由于代码过长,此处仅展示部分代码。
这个人的 subway.cpp 文件大小达到了 494KB!
偷梁换柱人。
migrate.cpp:
SC-S00105
亮点自寻。
migrate.cpp:
#include<bits/stdc+.h>
SC-S00107
注释定义人。
crystal.cpp:
// int x[N]={};
...
for(i = n;i >= 1;i--){
x[i]=0;
SC-S00123
虚空读入人。
subway.cpp:
freopen("subway1.in","r",stdin);
freopen("subway.out","w",stdout);
SC-S00128
输出样例还 CE 人。
subway.cpp:
if(t==2){
cout<<"1"<<endl<<"2";
}
if(t==3){
cout<<"1"<<endl<<"1"<<endl<<"2";
}
if(t==1){
cout<<<<"12251";
}
if(t==5){
int a,b;
cin>>a>>b;
if(bo==1){
cout<<"17"<<endl<<"9"<<endl<<"6"<<endl<<"6"<<endl<<"9";
}else{
cout<<"189"<<endl<<"233"<<endl <<"288"<<endl <<"229"<<endl <<"338";
}
}
还串台了。
hub.cpp:
if(t==2){
cout<<"1"<<endl<<"2";
}
if(t==3){
cout<<"1"<<endl<<"1"<<endl<<"2";
}
if(t==1){
cout<<<<"12251";
}
if(t==5){
int a,b;
cin>>a>>b;
if(bo==1){
cout<<"17"<<endl<<"9"<<endl<<"6"<<endl<<"6"<<endl<<"9";
}else{
cout<<"189"<<endl<<"233"<<endl <<"288"<<endl <<"229"<<endl <<"338";
}
}
SC-S00133
没敲完人。
crystal.cpp:
fre("crystal.in","r",in);
fre("crystal.out","w",out);
SC-S00135
集体默哀。
subway.cpp:
//freopen("subway.in","r",stdin);
//freopen("subway.out","w",stdout);
SC-S00136
Antimony_ 你好,想到是我写迷惑行为大赏了吗。
复习 whk 人。
migrate.cpp:
//退役选手到此一游
//祝大家玩的开心
//我说打成这个样子已经尽力了
//能1=吗
//我看难
//还没去年有实力
//@Antimony_ (uid:1098931)
//关注法猫谢谢喵
//OI(2023.9-2026.3)
//今年应该是最后一次参加比赛
//以后就没时间再关心OI了
//高考再见
//还剩十分钟该写些啥呢。。。
//T1感觉会炸,T2时间不是很优大概率也会炸,T3T4凭运气吧
//(60,100)+(60,?)+(?)+(?)
//别告诉我连这个分数都没有 /fn
//H He Li Be B C N O F Ne Na Mg Al Si P S Cl Ar K Ca
//F=ma E=1/2mv^2 I=mv
//君子曰:学不可以已
//青,取之于蓝,而青于蓝。冰,水为之,而寒于水。木直中绳,輮以为轮,其曲中规。虽有槁曝,不复挺者,輮使之然也。
//登高而招,臂非加长也,而见者远;顺风而呼,声非加疾也,而闻者彰。
SC-S00145
游记人。
subway.cpp:
//CCF出的什么题。第一题写不出来炸了,后面三题看不懂,明显都是图论……
//这么难,让人怎么活不,怎么写?
//第一题混一个省三得了
//没希望了,但是我还能挣扎。
//比赛刚开始,密码晚发了半分钟,随后拿到以后监考员说比赛因密码晚发延长5分钟,我们发出了尖锐的爆鸣声
//才到15:30了,我已经无力挣扎,题看不懂,打完输入已经是天大的好消息了
//自暴自弃到16:00,我开始发力了!我开始动手计算了。当然,作为“强大的”人,我当然需要配图啦。 (自己手搓地铁站口大致样子,手搓地铁)
//半个小时过去了,没手搓出来...看来要用3.5个小时嗑第一题了。
//比赛快结束了,美式咖啡都不苦了…………
SC-S00146
中二人。
crystal.cpp:
//窝要上洛谷迷惑行为大赏(真
freopen("crystal.in","r",stdin);
freopen("crystal.out","w",stdout);
//我要打舞萌!
cin>>sjsl>>kczcs;
//我要打中二!
for(int i=1;i<=sjsl;i++){
cin>>a[i];
}
//Welcome to maimai!
sort(a+1,a+1+sjsl);
//哦耶耶 桃花~谢了有玫瑰~
for(int i=1;i<=sjsl;i++){
b[i]=a[i]-a[i-1];
}
//Only feels like nothing could be better when I with you~(When I with you~)
可恶让你圆梦了。
默哀。
migrate.cpp:
//freopen("migrate.in","r",stdin);
//freopen("migrate.out","w",stdout);
SC-S00148
打表人。
subway.cpp:
#include<bits/stdc++.h>
using namespace std;
int c;
int ip[2];
struct NODEE{
int ip[5];
string ans;
}
node[7]=
{
{{0,2,5,20,2},"32\n17\n"},
{{0,3,7,20,2},"35\n16\n"},
{{0,15,136,20,200},"341\n667\n1255\n775\n558\n863\n540\n250\n1088\n1225\n1257\n360\n758\n703\n474\n357\n791\n780\n1015\n222\n212\n458\n570\n1429\n1052\n263\n874\n392\n1247\n1036\n426\n291\n292\n1342\n1339\n267\n632\n797\n232\n446\n496\n638\n899\n408\n914\n516\n336\n963\n1181\n589\n389\n178\n762\n340\n974\n677\n527\n281\n512\n1069\n509\n653\n437\n1074\n569\n1331\n236\n692\n1059\n402\n1058\n241\n285\n121\n422\n262\n577\n593\n398\n359\n506\n402\n926\n510\n639\n709\n329\n808\n94\n1314\n329\n795\n592\n391\n786\n349\n576\n405\n843\n464\n395\n634\n601\n814\n998\n1380\n1200\n985\n862\n683\n304\n343\n500\n538\n536\n811\n722\n292\n431\n368\n985\n487\n277\n205\n329\n1248\n837\n965\n765\n707\n1047\n355\n666\n565\n407\n228\n690\n1175\n126\n1015\n461\n235\n354\n100\n758\n388\n839\n574\n553\n349\n330\n659\n438\n352\n1347\n879\n897\n266\n313\n1072\n1246\n512\n285\n430\n724\n965\n949\n1072\n295\n475\n348\n1188\n153\n171\n132\n638\n664\n306\n841\n1154\n831\n1072\n523\n358\n608\n256\n1230\n300\n617\n1342\n1500\n268\n250\n280\n389\n665\n624\n667\n693\n297\n"},
由于代码过长,此处仅展示部分代码。
//不是故意的
我看你就是故意的。
SC-S00153
起立默哀。
subway.cpp:
//freopen("subway.in","r",stdin);
//freopen("subway.out","w",stdout);
SC-S00155
表白人。
crystal.cpp:
/*
My crush is zye.
I love zye.
I want to 99 with zye.
I want to walk in the world with you.
zye,I like you,miss you and love you.
Do you want to be my girl friend?
I want to sleep with you.
I love you very much.
I love you very much.
I want to 99 with you.
*/
祝 99。
sdf 人。
subway.cpp:
sdf
rt+=inf?
rt+=inf
SC-S00160
要上洛谷人。
//虽然只写了输入,但我要上洛谷
可恶让你圆梦了。
SC-S00161
QWQ 人。
hub.cpp:
#include<bits/stdc++.h>
using namespace std;
signed main(){
freopen("hub.in","r",stdin);
freopen("hub.out","w",stdout);
cout<<"QWQ";
return 0;
}
SC-S00162
设置悬念人。
crystal.cpp:
// 试了正解没成功,那就~~~
SC-S00166
phigros 人。
migrate.cpp:
/*
|| ||======||
|| || || | === === === === === ===
|| || || | | | | | | | | | | | | |
||===============|| | | | | | | | | | | | | |
|| | === === === === === ===
||
||
||
AP the CSP-S AT 18.0
| 获得114514.1919810rp |
*/
要壶关人。
hub.cpp:
//我的蓝勾就这么飞了
//5级勾应该还是有的
//uid 1030188,欢迎壶关
//S:70+4+4+4=82pts 2=
//J:100+70+75+48=303pts 1=(糟糕的算数)
SC-S00171
重新打开人。
migrate.cpp:
reopen("migrate.in","r",stdin);
freopen("migrate.out","w",stdout);
SC-S00176
求关注人。
hub.cpp:
//洛谷关注DanseSolo姐姐(LG UID : 1808162)谢谢喵!!!
//洛谷关注DanseSolo姐姐(LG UID : 1808162)谢谢喵!!!
//洛谷关注DanseSolo姐姐(LG UID : 1808162)谢谢喵!!!
//洛谷关注DanseSolo姐姐(LG UID : 1808162)谢谢喵!!!
//洛谷关注DanseSolo姐姐(LG UID : 1808162)谢谢喵!!!
//洛谷关注DanseSolo姐姐(LG UID : 1808162)谢谢喵!!!
据统计,这个人在 T3、T4 两份代码里均写了这串注释。
DanseSolo 在吗?
SC-S00177
只出不进人。
subway.cpp:
#include<bits/stdc++.h>
using namespace std;
int main(){
cin.tie(0);
freopen("subway.out", "w", stdout);
cout << "32\n17";
return 0;
}
我们在 hub.cpp 里找到了几乎相同的代码:
#include<bits/stdc++.h>
using namespace std;
int main(){
cin.tie(0);
freopen("subway.out", "w", stdout);
cout << "1\n2";
return 0;
}
SC-S00185
语文大手子。
crystal.cpp:
//连雨不知春去,一晴方知夏深
subway.cpp:
//扶大厦之将倾,挽狂澜于既倒
migrate.cpp:
//西风残照,汉家陵阙
hub.cpp:
//无可奈何花落去,似曾相识燕归来
SC-S00188
卡评测人。
hub.cpp:
#include<bits/stdc++.h>
using namespace std;
int main(){
long long int a=99999999;
while(a){
while(a){
while(a){
while(a){
while(a){
while(a){
while(a){
while(a){
while(a){
while(a){
while(a){
while(a){
while(a){
while(a){
while(a){
while(a){
while(a){
while(a){
while(a){
while(a){
cout<<a;
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
return 0;
}
SC-S00189
“斯大林不会等待任何人”。
crystal.cpp:
//olD-mOwOn
/*斯大林不会等待任何人。
队。英改师*/
“天皇会唐死任何人”。
subway.cpp:
//olD-mOwOn
/*天皇会唐死任何人
对,英改师*/
/*拉伸*/
/*拉伸*/
/*拉伸*/
/*拉伸*/
/*拉伸*/
/*拉伸*/
/*拉伸*/
/*拉伸*/
/*拉伸*/
/*拉伸*/
共计 6719 个 /*拉伸*/。
“罗斯福不会为任何人而起身”。
migrate.cpp:
//olD-mOwOn
/*罗斯福不会为任何人而起身。
队,英改师*/ //渣渣帅,吴。迪
//渣渣帅,吴。迪
//渣渣帅,吴。迪
//渣渣帅,吴。迪
//渣渣帅,吴。迪
//渣渣帅,吴。迪
共计 9118 个 //渣渣帅,吴。迪。
SC-S00191
单引号人。
crystal.cpp:
freopen("crystal.in",'r',stdin);
freopen("crystal.out",'w',stdout);
migrate.cpp:
freopen("migrate.in",'r',stdin);
freopen("migrate.out",'w',stdout);
二、随机抽取代码展示
我在
如果你没有看到你的代码,那么请你明年继续努力整活。
SC-S00225
写游记人。
hub.cpp:
/*
Just Sayori
时间也差不多了,果然还是无力回天吗,问题可能在于花了大量的时间在 T4 的甲酸,不过谁看到几乎做完的做法不会心动呢
还是自己太菜了吧,活该一辈子顶着一个蓝钩,最后一次去搏得金钩的机会也没有了啊
也没有什么别的能说了,接下来就是 NOIP,也是我人生中最后一次 OI 比赛了,我觉得我应该活不到 NOIP 之后
不管这套题是难是易我也用尽了全力,不过还是有很大遗憾吧,再多给我一些时间的话……
无论如何,去年那个颤颤巍巍走进机房的少年也应该准备好迎来好结局,无论是 HE 还是 BE
OE 是不可能 OE 的,这是现实,你不会失去观看他人继续的生活的权利。
有点忘记的一句话:
我将沿着这条路继续走下去,现在是,未来也是,永远不会后悔! ——上条当麻《魔法禁书目录》旧约四
*/
祝你能 AK IOI!
SC-S00349
求关注人。
hub.cpp:
/*
关注luogu 893382
关注luogu 893382
关注luogu 893382
关注luogu 893382
关注luogu 893382
关注luogu 893382
关注luogu 893382
关注luogu 893382
关注luogu 893382
关注luogu 893382
关注luogu 893382
关注luogu 893382
关注luogu 893382
关注luogu 893382
关注luogu 893382
关注luogu 893382
关注luogu 893382
关注luogu 893382
关注luogu 893382
关注luogu 893382
关注luogu 893382
关注luogu 893382
关注luogu 893382
关注luogu 893382
关注luogu 893382
关注luogu 893382
关注luogu 893382
关注luogu 893382
关注luogu 893382
关注luogu 893382
关注luogu 893382
关注luogu 893382
关注luogu 893382
关注luogu 893382
关注luogu 893382
关注luogu 893382
关注luogu 893382
关注luogu 893382
关注luogu 893382
关注luogu 893382
关注luogu 893382
关注luogu 893382
关注luogu 893382
关注luogu 893382
关注luogu 893382
关注luogu 893382
关注luogu 893382
关注luogu 893382
关注luogu 893382
关注luogu 893382
关注luogu 893382
关注luogu 893382
关注luogu 893382
关注luogu 893382
关注luogu 893382
关注luogu 893382
关注luogu 893382
关注luogu 893382
关注luogu 893382
关注luogu 893382
关注luogu 893382
关注luogu 893382
关注luogu 893382
关注luogu 893382
关注luogu 893382
关注luogu 893382
关注luogu 893382
关注luogu 893382
关注luogu 893382
关注luogu 893382
关注luogu 893382
关注luogu 893382
关注luogu 893382
关注luogu 893382
关注luogu 893382
关注luogu 893382
关注luogu 893382
关注luogu 893382
关注luogu 893382
关注luogu 893382
关注luogu 893382
关注luogu 893382
关注luogu 893382
关注luogu 893382
关注luogu 893382
关注luogu 893382
关注luogu 893382
关注luogu 893382
关注luogu 893382
关注luogu 893382
关注luogu 893382
关注luogu 893382
关注luogu 893382
关注luogu 893382
关注luogu 893382
关注luogu 893382
关注luogu 893382
关注luogu 893382
关注luogu 893382
关注luogu 893382
100+92+8+5=205
*/
SC-S00360
没写完人 2.0。
crystal.cpp:
#include<bits/stdc++.h>
using namespace std;
int main(){
int n,m;
cin>>n>>m;
int a[n];
for(int i=0;i<n;i++){
cin>>a[i];
}
for(int i=0;i<n*n+1;i++){
}
}
SC-S00425
写退役记人。
crystal.cpp:
/*這是我最後一次參加CSP了
想說說自己的感想(CCF你們查重的時候應該看不到吧)
上午J組挺簡單應該分數線挺高
下午的S組很難偏分都沒思路
在信奧這條路上也走了挺久了一直沒什麼成績
所以要去中考了
現在這門競賽的環境來看
我初三才學到線段樹(甚至沒怎麼懂)算大齡剩男了
J組給個一等獎安慰下我吧
我還記得第一次打CSP初賽沒過用了學校的保送名額進了J組複賽
結果發現有個叫freopen的東西從來沒聽過
還是旁邊的不認識同學告訴我的
我一開始學信奧是為了以後可以自己做遊戲給自己耍
後來也確實做了文字版的惡魔輪盤
只能說我其實從頭到尾認真學競賽可能也就一年半
這樣的結局也配得上我的表現
打完今年就要退役了
祝我考上七中
希望以後能當遊戲設計師和C++再續良緣(以後編程都是AI乾了吧)
再見CCF
再見CSP
再見洛谷
我亦將止步於此
*/
祝你前程似锦!
SC-S00493
不写 freopen 人。
crystal.cpp:
int n,m,sum=0;
cin>>n>>m;
根据统计,这个人四道题均没写 freopen。
SC-S00577
打赌人。
crystal.cpp:
//My friend said if I cant get score higher than 16pts
//I must nvzhuang
//But now he has no chanse
//And if I get score higher than 200pts
//He will nvzhuang
//zhe xia ta ke can le
那个……我说女装照能发我一份吗?
SC-S00809
游记人。
crystal.cpp:
/*
#### 游记
我去了,这键盘怎么这么难用
居然因为密码延迟,所以所有人可以多考 5min,太棒了!!!
md 第一题不会,又是双指针
16:00:17 T1 100pts(ps:从暴力到正解真是个好东西)
16:01:42 吃了个巧克力球
17:11:01 T2 32 ~ 84pts(ps:dijkstra 的时间复杂度是多少捏?)
18:17:17 T3 的数据范围很人才了
*/
SC-S00865
画神秘图案人。
还 CE 了。
subway.cpp:
#include<bits/stdc++.h>
#define ll long long
using namespace std;
const ll N=0x3f3f3f;
llc,n,m,d,p
int main()
{
ios::sync_with_stdio(0);
cin.tie(0);
freopen("subway.in","r",stdin);
freopen("subway.out","w",stdout);
/*
/\
/ \
/ / \
/ / \
/ / \
/ /_____ \
/ / \
/ / \
/ / \
/________/_________\
D F
*/
cout<<"666ccf"<<endl;
return 0;
}
诅咒 CCF 人。
migrate.cpp:
//TM CCF NOJB!!!
想进迷惑行为大赏人。
hub.cpp:
//骗分过样例(了吗?) 暴力(没写)出奇迹
//没有输入是HYW
//想进奇葩代码大赏
可恶让你圆梦了。
SC-S00888
再见人。
hub.cpp:
/*
神秘,试图 greedrand 化
再见了,I'm @luogu(user=1129497),明年见
*/
SC-S01005
CCF love me 人。
//上行为大赏 SC-S01005
// ccf love m e
我感觉我是来帮助圆梦的……
SC-S01091
语文大手子拜谢。
crystal.cpp:
/*
文明与道德被埋葬在黎明前,踽行于无止境的风雪之中,伊塔库亚早已忘了自己为谁守夜
*/
SC-S01107
虚空读入人 2.0。
crystal.cpp:
freopen("crystal1.in","r",stdin);
freopen("crystal.out","w",stdout);
SC-S01127
又来一个神秘语言的。
crystal.cpp:
#include<iostream>
#include<vector>
using namespace std;
int main(){
vid::"squt_prot_bit";
vid:soute;
int crystal.in>>0;
int crystal.in = [n];
int n=[a];
double [a]=[a1,a2,a3...an];
int count >> a1+a2+a3+...+an=0;
if(>>n,n>0,n++,>>m,m>=0,m++){
int crystal.in >>[5];
vector >> "5" >>"5"<<endl;
cout << "1,2,4,8" <<endl;
squrt >> crystal.in >>[5]>>endl;
cout << crystal.out<<"3"<< endl;
}if(>>n[a],n>0,n++,){
int crystal.in >>n[a];
vector >> "5" >> "8" >>endl;
cout << "-3,-1,2,2,7" <<endl;
squrt >> crystal.in >>[5]>>endl;
cout << crystal.out<< "4" << endl;
}if(>>n[a],n>0,n_void.spt[n],n++){
int crystal.in >>[a]=[a1,a2,a3...an];
vector >> "a""a" >>endl;
cout << "a1,a2,a3...an" <<endl;
squrt >> crystal.in >>[a] >> endl;
cout << crystal.out << "a1+a2+a3+...+an=0" <<endl;
}
cout << "count= " << endl;
return 0;
}
根据统计,这个人的四份代码均使用了这种未知语言。
你们再这样我要请解密专家了。
SC-S01147
起立默哀。
subway.cpp:
//freopen("subway.in","r",stdin);
//freopen("subway.out","w",stdout);
SC-S01175
偷梁换柱 2.0。
SC-S01222
亮点自寻。
subway.cpp:
if(n==3 && m==7 && d==20 && q=2){
cout<<"35\n16";
}
migrate.cpp:
int n,d
cin>>c>>t;
hub.cpp:
if(t==2 && n==10 && k==3){
cout<<1<<"/n"<<2;
}
SC-S01352
.in.txt 人。
crystal.cpp:
freopen("crystal.in.txt","r",stdin);
freopen("crystal.out.txt","w",stdout);
还有偷梁换柱 3.0。
根据统计,这个人的 T1、T2、T4 代码一模一样,所以他实际上可能得分的代码只有 T3。
SC-S01367
随机打字人。
migrate.cpp:
int DONT_USE_IT,t;
cin>>DONT_USE_IT>>t;
for(int i=0;i<n;i++){
int n,m;
cin>>n>>m;
int a[500000];
for(int i=0;i<n;i++){
cin>>a[i];
}
cout<<1<<endl;
}
SC-S01374
Hello world! 人。
migrate.cpp:
#include<bits/stdc++.h>
using namespace std;
inline long long read();
int main(){
freopen("migrate.in", "r", stdin);
freopen("migrate.out", "w", stdout);
cout << "Hello world!";
return 0;
}
hub.cpp:
#include<bits/stdc++.h>
using namespace std;
inline long long read();
int main(){
freopen("hub.in", "r", stdin);
freopen("hub.out", "w", stdout);
cout << "Hello world!";
return 0;
}
SC-S01380
不开 freopen 人。
subway.cpp:
cin.tie(0);
ios::sync_with_stdio(false);
int c, t; cin >> c >> t;
SC-S01386
变量名重名人。
subway.cpp:
while(q--){
int st = rd, ed = rd;
vector<int>dis(n+1, INT_MAX);
priority_queue<pair<int, int>>q;
SC-S01502
复制粘贴人。
subway.cpp:
#include<bits/stdc++.h>
using namespace std;
long long c,n,m,d,q;
int main(){
ios::sync_with_stdio();
cin.tie(nullptr);
freopen("crystal.in","r",stdin);
freopen("crystal.out","w",stdout);
cin>>c>>n>>m>>d>>q;
for(int i=q+5;i>5;i--){
cout<<4*(i-1)+1<<endl;
}
return 0;
}
migrate.cpp:
#include<bits/stdc++.h>
using namespace std;
long long n,m,c[1000005];
int main(){
ios::sync_with_stdio();
cin.tie(nullptr);
freopen("crystal.in","r",stdin);
freopen("crystal.out","w",stdout);
cin>>n>>m;
for(int i=0;i<m;i++){
int a,b;
cin>>a>>b;
for(int j=0;j<a;j++){
cin>>c[j];
}
cout<<!(b%2)<<endl;
}
return 0;
}
hub.cpp:
#include<bits/stdc++.h>
using namespace std;
long long c,n,m,d,q;
int main(){
ios::sync_with_stdio();
cin.tie(nullptr);
freopen("crystal.in","r",stdin);
freopen("crystal.out","w",stdout);
cin>>c>>n;
for(int i=0;i<n;i++){
cout<<i+1<<endl;
}
return 0;
}
SC-S01584
鉴定为张雪峰老师粉丝。
crystal.cpp:
/*
------------------------------------------------
fropen,frepen,Genshin Impact,bits/stdc+++.h
------------------------------------------------
张雪峰老师,我还记得你,一句一句,把我拉出迷雾里。
张雪峰老师,我还记得你,那些年少的愁,你替我扛起。
你站在讲台上,把难题说得亮堂。
一支笔一块黑板,照见我眼里的慌。
你总把话说实在,像冬天一杯热汤。
不绕弯不装腔,把路给我摆在前方。
那时候我害怕,怕未来太长。
你一句别怂,我就敢往前冲。
张雪峰老师,我还记得你,一句一句,把我拉出迷雾里。
张雪峰老师,我还记得你,那些年少的愁,你替我扛起。
粉笔回落在肩上,像雪一样安静。
你笑着说前途远,别先把自己看轻。
多少个深夜回家,我还在翻那页纸。
你说过的每句话,都在我心里立起。
后来风吹过来,我也学会了。
不拖不退,往自己的山峰走。
(长伴奏)
如果有一天,我走得很远。
也会想起那间教室的光线。
想起你拍着桌子,说别怕吃苦。
说这条路总会有人走出去。
张雪峰老师,我还记得你,一句一句,把我拉出迷雾里。
张雪峰老师,我还记得你,你给我的勇气,我一直放在心里。
------------------------------------------------
I'm the one who asked you to send "I love Arrtan_73" to @Arrtan_73 in CSP-J 2025.
But few of you did this which made me very disappointed.
Now he've changed his ID to Methyl_CH3. You know what I mean.
------------------------------------------------
左边那个SC-S01586非常傻逼一直在哼歌
------------------------------------------------
*/
SC-S01586
测试空间人。
#include<bits/stdc++.h>
using namespace std;
int c,t,a[100000005],ans[17]={8129,16,9,7,12,0,0,0,2,1,0,2,3,6,0,2,0};
long long an[16]={6800625333,6247500,6242502,4998,9994,0,0,0,2,1,0,2,3,6,0,2};
long long answer[14]={9999900000,399995,0,716427,0,0,2,1,0,2,3,6,0,2};
int hi[12]={0,0,259997,259995,86669,0,0,0,7,5,5,0};
SC-S01694
起立默哀。
crystal.cpp:
//freopen("crystal.in","r",stdin);
//freopen("crystal.out","w",stdout);
666 人。
migrate.cpp:
666
SC-S01713
没写完人。
hub.cpp:
#include <bits/stdc++.h>
using namespace std;
int c,t,u[1001],v[1001],n,k;
int main(){
freopen("hub.in","r",stdin);
freopen("hub.out","w",stdin);
cin>>c>>t;
cin>>n>>k;
for(int i=1;i<=)
return 0;
}
SC-S01833
打表仙人。
subway.cpp:
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
int c,n,m,d,q;
vector <ll> w;
vector <ll> k;
vector <vector <ll> > a;
vector <vector <ll> > t;
int x,y;
int cnt = 0;
int main(){
freopen("subway.in","r",stdin);
freopen("subway.out","w",stdout);
ios::sync_with_stdio(0),cin.tie(0);
cin >> c >> n >> m >> d >> q;
w.resize(m+1);
for (int i = 1;i <= m;i ++) cin >> w[i];
k.resize(n+1),a.resize(n+1),t.resize(n+1);
for (int i = 1;i <= n;i ++){
cin >> k[i];
a[i].resize(k[i]+1),t[i].resize(k[i]+1);
for (int j = 1;j <= k[i];j ++)
cin >> a[i][j] >> t[i][j];
}
if (c == 0){
if (n == 2 && m == 5 && d == 20 && q == 2){
cout << "32\n17";
} else if (n == 3 && m == 7 && d == 20 && q == 2){
cout << "35\n16";
} else if (n == 15 && m == 136 && d == 20 && q == 200){
cout << "341\n667\n1255\n775\n558\n863\n540\n250\n1088\n1225\n1257\n360\n758\n703\n474\n357\n791\n780\n1015\n222\n212\n458\n570\n1429\n1052\n263\n874\n392\n1247\n1036\n426\n291\n292\n1342\n1339\n267\n632\n797\n232\n446\n496\n638\n899\n408\n914\n516\n336\n963\n1181\n589\n389\n178\n762\n340\n974\n677\n527\n281\n512\n1069\n509\n653\n437\n1074\n569\n1331\n236\n692\n1059\n402\n1058\n241\n285\n121\n422\n262\n577\n593\n398\n359\n506\n402\n926\n510\n639\n709\n329\n808\n94\n1314\n329\n795\n592\n391\n786\n349\n576\n405\n843\n464\n395\n634\n601\n814\n998\n1380\n1200\n985\n862\n683\n304\n343\n500\n538\n536\n811\n722\n292\n431\n368\n985\n487\n277\n205\n329\n1248\n837\n965\n765\n707\n1047\n355\n666\n565\n407\n228\n690\n1175\n126\n1015\n461\n235\n354\n100\n758\n388\n839\n574\n553\n349\n330\n659\n438\n352\n1347\n879\n897\n266\n313\n1072\n1246\n512\n285\n430\n724\n965\n949\n1072\n295\n475\n348\n1188\n153\n171\n132\n638\n664\n306\n841\n1154\n831\n1072\n523\n358\n608\n256\n1230\n300\n617\n1342\n1500\n268\n250\n280\n389\n665\n624\n667\n693\n297\n";
} else if (n == 480 && m == 481 && d == 20 && q == 90000){
cout << "12180\n33389\n12598\n14797\n19279\n2438\n33951\n12464\n30992\n8642\n35738\n37449\n27753\n3526\n10081\n24800\n33005\n10990\n4046\n4120\n4415\n30335\n4248\n34842\n18053\n10915\n5728\n30612\n20318\n15837\n1021\n4984\n8296\n11956\n9468\n19112\n22681\n15408\n30544\n11703\n20085\n25300\n4985\n7482\n5212\n19503\n6516\n1076\n12516\n10696\n4360\n3335\n12011\n2566\n35804\n4899\n37448\n17986\n28690\n843\n25055\n7945\n26021\n387\n3483\n16578\n1408\n914\n22262\n5278\n3914\n9284\n18356\n31301\n17086\n8077\n30974\n1020\n25049\n8265\n21963\n23671\n1535\n1765\n16076\n21375\n6488\n4634\n9017\n6564\n26443\n12342\n21806\n6387\n29501\n21917\n7044\n16840\n5004\n3742\n40658\n20558\n1974\n14351\n24
由于代码过长,此处仅展示部分代码。
SC-S01843
feropen 人。
migrate.cpp:
freopen("migrate.in","r",stdin);
feropen("migrate.out","w",stdout);
SC-S01903
读入再读入人。
freopen("migrate.in","r",stdin);
freopen("migrate.out","r",stdout);
SC-S01913
测试空间人。
crystal.cpp:
#include <bits/stdc++.h>
#define LL long long
using namespace std;
LL n,m,ans;
LL a[100000000];
club 人。
hub.cpp:
#include <bits/stdc++.h>
using namespace std;
int a,b;
int main(){
freopen("club.in","r",stdin);
freopen("club.out","w",stdout);
for(int i=1;i<=b;i++){
int x;
cin>>x;
cout<<x/2;
}
}
三、网友投稿
如果你觉得你的整活很有意思,并且愿意来一展才华,欢迎向我投稿!
已经在上面的就不要再投稿了。
投稿截止至 12 月 31 日。
SC-S00249
来自 HenryCao128 的投稿,感谢您做出的贡献!
让你写 400 个 rp++ 差点把我电脑炸了。
rp++ 人。
hub.cpp:
//rp++ rp++ rp++ rp++ rp++ rp++ rp++ rp++ rp++ rp++
//rp++ rp++ rp++ rp++ rp++ rp++ rp++ rp++ rp++ rp++
//rp++ rp++ rp++ rp++ rp++ rp++ rp++ rp++ rp++ rp++
//rp++ rp++ rp++ rp++ rp++ rp++ rp++ rp++ rp++ rp++
//rp++ rp++ rp++ rp++ rp++ rp++ rp++ rp++ rp++ rp++
//rp++ rp++ rp++ rp++ rp++ rp++ rp++ rp++ rp++ rp++
//rp++ rp++ rp++ rp++ rp++ rp++ rp++ rp++ rp++ rp++
//rp++ rp++ rp++ rp++ rp++ rp++ rp++ rp++ rp++ rp++
//rp++ rp++ rp++ rp++ rp++ rp++ rp++ rp++ rp++ rp++
//rp++ rp++ rp++ rp++ rp++ rp++ rp++ rp++ rp++ rp++
//rp++ rp++ rp++ rp++ rp++ rp++ rp++ rp++ rp++ rp++
//rp++ rp++ rp++ rp++ rp++ rp++ rp++ rp++ rp++ rp++
//rp++ rp++ rp++ rp++ rp++ rp++ rp++ rp++ rp++ rp++
//rp++ rp++ rp++ rp++ rp++ rp++ rp++ rp++ rp++ rp++
//rp++ rp++ rp++ rp++ rp++ rp++ rp++ rp++ rp++ rp++
//rp++ rp++ rp++ rp++ rp++ rp++ rp++ rp++ rp++ rp++
//rp++ rp++ rp++ rp++ rp++ rp++ rp++ rp++ rp++ rp++
//rp++ rp++ rp++ rp++ rp++ rp++ rp++ rp++ rp++ rp++
//rp++ rp++ rp++ rp++ rp++ rp++ rp++ rp++ rp++ rp++
//rp++ rp++ rp++ rp++ rp++ rp++ rp++ rp++ rp++ rp++
//rp++ rp++ rp++ rp++ rp++ rp++ rp++ rp++ rp++ rp++
//rp++ rp++ rp++ rp++ rp++ rp++ rp++ rp++ rp++ rp++
//rp++ rp++ rp++ rp++ rp++ rp++ rp++ rp++ rp++ rp++
//rp++ rp++ rp++ rp++ rp++ rp++ rp++ rp++ rp++ rp++
//rp++ rp++ rp++ rp++ rp++ rp++ rp++ rp++ rp++ rp++
//rp++ rp++ rp++ rp++ rp++ rp++ rp++ rp++ rp++ rp++
//rp++ rp++ rp++ rp++ rp++ rp++ rp++ rp++ rp++ rp++
//rp++ rp++ rp++ rp++ rp++ rp++ rp++ rp++ rp++ rp++
//rp++ rp++ rp++ rp++ rp++ rp++ rp++ rp++ rp++ rp++
//rp++ rp++ rp++ rp++ rp++ rp++ rp++ rp++ rp++ rp++
//rp++ rp++ rp++ rp++ rp++ rp++ rp++ rp++ rp++ rp++
//rp++ rp++ rp++ rp++ rp++ rp++ rp++ rp++ rp++ rp++
//rp++ rp++ rp++ rp++ rp++ rp++ rp++ rp++ rp++ rp++
//rp++ rp++ rp++ rp++ rp++ rp++ rp++ rp++ rp++ rp++
//rp++ rp++ rp++ rp++ rp++ rp++ rp++ rp++ rp++ rp++
//rp++ rp++ rp++ rp++ rp++ rp++ rp++ rp++ rp++ rp++
//rp++ rp++ rp++ rp++ rp++ rp++ rp++ rp++ rp++ rp++
//rp++ rp++ rp++ rp++ rp++ rp++ rp++ rp++ rp++ rp++
//rp++ rp++ rp++ rp++ rp++ rp++ rp++ rp++ rp++ rp++
//rp++ rp++ rp++ rp++ rp++ rp++ rp++ rp++ rp++ rp++
//Hope you did not:
/*
//freopen
froepen
freopen("xxx.out","w",stdin)
freopen("xxx.in","r",stdout)
*/
//Hope you:
//CSP-J AK
//CSP-S 1=
//CCF I love you
//CCF give me more points
SC-S00485
来自 cr0wnfisher 的投稿,感谢您做出的贡献!
打开窗口人。
crystal.cpp:
#include<windows.h>
subway.cpp:
#include<windows.h>
migrate.cpp:
#include<windows.h>
都快冬天了还开什么窗户啊。
SC-S01269
来自 myubi 的投稿,感谢您做出的贡献!
求运人。
subway.cpp:
//Luck come here 76 117 99 107 99 111 109 101 104 101 114 101 运~来~ 吾命天地之灵运汇集吾身
//我愿以《三角洲行动》以后永不出50万哈弗币以上的红换T2+T3+T4 100分
看出来你很无聊了。
hub.cpp:
/*LGID :myubi又来了
早上本来还想看S组能不能暴力抢分的
现在看只有T1是我勉强能暴的,吓哭了
还有两个半小时
现在T2 T3 T4都不会做,想着看看特殊性质偷分的
但感觉给了又没给 气笑了
实在没思路
写个随机数吧
ok也是写完了,一不小心三道题都写了随机(绷)
让我想想有没有什么能干的事
emmm........
LG的站友们好啊(应该是能上奇葩大赏的吧)
现在总结一下今天干了一些什么事,算是写了一篇游记吧
早上6:00起床吃饭,出门等滴滴,今天司机迟到了五六分钟
到学校差不多6:40的样子,看了一下注意事项和可能爆零的地方
发现好像没有我前两次莫名其妙有爆零的原因,这就是被爆零恶魔诅咒之人吗
7:00左右出发了,学校租的车还是那么闷,看着一起来的初中学弟学妹们
好像也看不到我的影子,可能是因为他们不会爆零吧,也可能是还没出太阳,影子还不明显
说到初中,虽然我高中和初中是同一所学校,也有一些原来班上的人在年级上
但是总感觉上了高中后,不在一个班上总是像隔着一层膜一样
又偏题哩
到了比赛教室里后,感觉就和前几次一样,但害怕又爆零力
整体做下来感觉还可以,T4还是没能拿下
中午老师带我们出去吃自助,可惜@Asoccia没来
好像是前年吧
我们也是去吃的烤肉自助,当时我和Asoccia还有moku(两个兄弟说是)在里面炒肉没绷住
现在一个去了八中,一个在我们学校另一个班上
有点想念就是哩
自助吃完 感觉有点晕碳(烤肉烤成碳板了说是), 头有点胀胀的
到教室已经无法独立思考了-----myubi停止了思考
看完S组的题,本来说T1和T3都可以拿一些部分分的,但T3写着写着打了个哈欠就断片了
现在的情况就是纯运了,运气好就300,运气一般就不到100
一念神魔之人说是
怎么还有两个小时啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊
不知道该干什么了
打打表吧
搞了个数字炸弹玩
#include<bits/stdc++.h>
using namespace std;
bool op;
void solve(int l,int r,int k,int x){
if(k<x){
cout<<"现范围:"<<k<<"---"<<r<<endl;
l=k;
op=1;
}
else{
cout<<"现范围:"<<l<<"---"<<k<<endl;
r=k;
op=0;
}
return;
}
int main(int argc,const char *argv[]){
int seed=1;
if(argc>1) seed=atoi(argv[1]);
srand(time(0)+seed*7);
cout<<"-----------按y开始-----------"<<endl;
char c;
cin>>c;
while(c=='y'){
int cnt=0;
int ru,l,r;
cout<<"输入范围:";
cin>>l>>r;
int x=rand()%(r-l-1)+1+l;//炸弹
bool f=1;
while(f){
int k=rand()%(r-l)+l;
while(k==r||k==l)
k=rand()%(r-l)+l;
cout<<"我选"<<k<<"喵"<<endl;
if(k==x){
cout<<"炸弹竟然是"<<x<<"喵"<<endl;
cout<<"不服,再来喵!"<<endl;
cout<<"-----------按y开始-----------"<<endl;
cin>>c;
break;
}
else{
solve(l,r,k,x);
if(op) l=k;
else r=k;
cout<<"快点喵,该你了"<<endl;
cin>>ru;
while(ru>=r||ru<=l){
if(cnt==0){
cout<<"不能输出这以外的数字喵"<<endl;
}
if(cnt==1){
cout<<"都说了不能输外面的喵"<<endl;
}
if(cnt==2){
cout<<"再不听话我就生气哩"<<endl ;
}
if(cnt==3){
cout<<"你违反了规则喵"<<endl;
cout<<"-----------按y开始-----------"<<endl;
cin>>c;
break;
}
cnt++;
cin>>ru;
}
if(ru==x){
cout<<"输了吧砸库(ノへ ̄、),我可是不可战胜的喵"<<endl;
cout<<"-----------按y开始-----------"<<endl;
cin>>c;
break;
}
solve(l,r,ru,x);
if(op) l=ru;
else r=ru;
}
}
}
return 0;
}
还有40分钟,这下是真不知道该干什么了
外面已经有点黑了
窗外........
............
............
............
窗外的天气 在茈诞生的前41秒
就像是 新宿上空响起了五条悟的吟唱...
你多变的表情 九冈 天光 屋与声明 表里之间(bushi)
下雨了 雨陪我哭泣
看不清
我也不想看清
离开你我安静的抽离
不忍揭晓的剧情
我的爱留在心里
学会放弃~~~
听雨的声音 一滴滴清晰
你的呼吸像雨滴渗入我的爱里
只希望雨能下不停
让想念继续 让爱能延续
阿巴阿巴阿巴阿巴阿巴阿巴阿巴阿巴阿巴阿巴阿巴阿巴阿巴阿巴阿巴阿巴阿巴
18:00 了
只要再等半个小时,就宣布胜利吧(yagami音)
只要...能到达那个时间 啊老八宵夜(dio音)
话说
最近在追进巨,看到兽巨,铠巨和超巨包围调查兵团的部分了
为什么他们说艾伦是个阴呢,不是只会叫,硬质化和挥拳吗
还有就是jo7感觉每集都好短啊,不够看有没有懂的
*/
完结撒花
本次 SC CSP-S 迷惑行为大赏采用了一些新方法,如果你喜欢,麻烦给个赞再走吧。
神人年年有,今年格外多。