免责声明:以下代码不代表作者本人观点。
示例
以下是一个代码展示格式的示例。
JS-S00000
(以上为选手的准考证号。)
[T1 T2] 你 被 骗 了
(以上表示以下代码段出现在了哪些程序中,和作者对其的评价。)
//freopen("input.txt","r",stdin);(以上表示代码片段。)
选手
JS-S00001
[T1] 比赛在凌晨结束这一块
//competition ends at 02:33[T1 T3] 激动的心
//!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!JS-S00015
[T2] 对的,然而颤抖的手
//zui xiao sheng cheng shu(此处省略一些代码)
tot+=2JS-S00020
[T3] 最没有任何意义的一集
int main()
{
;;;
}
/*
It's of no meaning, just to fulfill the code.
It's of no meaning, just to fulfill the code.
It's of no meaning, just to fulfill the code.
It's of no meaning, just to fulfill the code.
It's of no meaning, just to fulfill the code.
It's of no meaning, just to fulfill the code.
It's of no meaning, just to fulfill the code.
It's of no meaning, just to fulfill the code.
It's of no meaning, just to fulfill the code.
It's of no meaning, just to fulfill the code.
It's of no meaning, just to fulfill the code.
It's of no meaning, just to fulfill the code.
It's of no meaning, just to fulfill the code.
*/JS-S00021
[T1] 累 加 器
int g(int r){
r ++;
r ++;
r ++;
(此处省略另外36个 r ++;)
r ++;
r += 10;
}JS-S00039
[T1] 宇 宙 魔 方
else if(n == 4) cout << max({
a[1].x + a[2].x + a[3].y + a[4].y,
a[1].x + a[2].y + a[3].x + a[4].y,
a[1].y + a[2].x + a[3].y + a[4].x,
a[1].y + a[2].y + a[3].x + a[4].x,
a[1].x + a[2].x + a[3].z + a[4].z,
a[1].x + a[2].z + a[3].x + a[4].z,
a[1].z + a[2].x + a[3].z + a[4].x,
a[1].z + a[2].z + a[3].x + a[4].x,
a[1].z + a[2].z + a[3].y + a[4].y,
a[1].z + a[2].y + a[3].z + a[4].y,
a[1].y + a[2].z + a[3].y + a[4].z,
a[1].y + a[2].y + a[3].z + a[4].z,
a[1].x + a[2].x + a[3].y + a[4].z,
a[1].x + a[2].x + a[3].z + a[4].y,
a[1].x + a[3].x + a[2].y + a[4].z,
a[1].x + a[3].x + a[2].z + a[4].y,
a[1].x + a[4].x + a[2].y + a[3].z,
a[1].x + a[4].x + a[2].z + a[3].y,
a[2].x + a[3].x + a[1].y + a[4].z,
a[2].x + a[3].x + a[1].z + a[4].y,
a[2].x + a[4].x + a[1].y + a[3].z,
a[2].x + a[4].x + a[1].z + a[3].y,
a[3].x + a[4].x + a[1].y + a[2].z,
a[3].x + a[4].x + a[1].z + a[2].y,
a[1].y + a[2].x + a[3].y + a[4].z,
a[1].y + a[2].x + a[3].z + a[4].y,
a[1].y + a[3].x + a[2].y + a[4].z,
a[1].y + a[3].x + a[2].z + a[4].y,
a[1].y + a[4].x + a[2].y + a[3].z,
a[1].y + a[4].x + a[2].z + a[3].y,
a[2].y + a[3].x + a[1].y + a[4].z,
a[2].y + a[3].x + a[1].z + a[4].y,
a[2].y + a[4].x + a[1].y + a[3].z,
a[2].y + a[4].x + a[1].z + a[3].y,
a[3].y + a[4].x + a[1].y + a[2].z,
a[3].y + a[4].x + a[1].z + a[2].y,
a[1].x + a[2].z + a[3].y + a[4].z,
a[1].x + a[2].z + a[3].z + a[4].y,
a[1].x + a[3].z + a[2].y + a[4].z,
a[1].x + a[3].z + a[2].z + a[4].y,
a[1].x + a[4].z + a[2].y + a[3].z,
a[1].x + a[4].z + a[2].z + a[3].y,
a[2].x + a[3].z + a[1].y + a[4].z,
a[2].x + a[3].z + a[1].z + a[4].y,
a[2].x + a[4].z + a[1].y + a[3].z,
a[2].x + a[4].z + a[1].z + a[3].y,
a[3].x + a[4].z + a[1].y + a[2].z,
a[3].x + a[4].z + a[1].z + a[2].y}) << '\n';JS-S00047
[T4] 血海深仇
//shi nian qian de chou nan dao bu bao le me?(翻译:十年前的仇难道不报了么?)
JS-S00050
[T1 T2 T3 T4] 意义不明的结尾
/*z*//*i*//*n*//*g*/[T1] 游记人&表白人
/*
17:45 死了,T1 T2 T3 T4 都不会做。。。懒得打暴搜了,估计也是最后一场考试了,随便写点吧,巧了可能能得到几分。。。
感谢陪伴我度过初中快乐的三年的所有人,陪我一起学 OI 的所有同学,以及每一位帮助过我的人。
我太菜了,什么都不会,不过感谢zy最后一天的鼓励。
实在不知道该写什么了,就这样吧。
哦哦,I love you!
名字一个代码放一个字母吧,缀在最后。
*/JS-S00054
[T1 T2 T3 T4] 吟游诗人
/*
naxie yiyiguxingde guocuo haiqing yuanliang wo
miandui xiongxiande jinhou bie likai wo
*/(翻译:那些一意孤行的过错/还请原谅我/面对凶险的今后/别离开我)
JS-S00060
[T1] 报时人&密码人
// Ren5Jie4Di4Ling5%, 30th, Oct. 2025
// 14:40 passed[T2] 咋办?
// ducuotile xianzai 16:33 zaban(翻译:读错题了/现在16:33/咋办)
[T3] 求放过
// O(q*B^2 + q*(S/2*B ... meimaren))
// ccf qiufangguo
// dayangli ruocheng shenme yangzi le aaaaaa....
// ??? weishenme guandiao fsanitize 3s -> 0.5s ?(暂不提供翻译)
JS-S00071
[T2] 条条大路通罗马
/*
* Q: All r..ds l..d wh.r.?
* A: Rome.
*/[T2] 如果早知道考CSP-S也会被…
/*
I should have reviewed 最小生成树...
*/[T3] 细腻的心理描写
/*
* os:希望数据也能这么水
*/[T4] 重要的数字
const int IMPORTANT_NUMBER = 947, MOD = 998244353;[T4] 细致的难度划分
#define ASSERT_EXIT(condition) \
if (!(condition)) \
{ \
printf(" 难、较难、困难 \n"); \
return 0; \
}JS-S00074
[T3 T4] 不要嘲笑我www
//bie xiao wo wo shi zai bu hui le!!!(翻译:别笑我我实在不会了)
JS-S00076
[T2 T3 T4] 最辛苦的一集&你不编译的吗
cout << "辛苦了!"<< endlJS-S00090
[T1 T2 T4] 注意事项人
/*
Things to check:
1. if MOD-ed / negative MODs
2. if overflow(long long)
3. if there is Undefined Behaviour(yuejie / no return value)
4. don't use 'auto'
5. filename / FileIO
6. move the cpp to folder 'JS-S00090'
CSP-S 2025 RP++!
*/JS-S00094
[T1 T2 T3 T4] 怎么两个注意事项人连在一起啊
/*
- check int and long long
- check mod (+mod)%mod
- check the return value
- think carefully then code
- do not overkill
- be patient (i.e. constructive)
- freopen
- the memory limit and the size of arrays
- corner cases (obj <0 : max(0,x))
*/JS-S00098
[T4] 奇妙的不等式&胜利宣言
//T2 > t4JS-S00103
[T3] 游记人&祝好
/*
CSP游记
2025年10月31日
第二天要去南外考场参加CSP-S第二轮,学校为了准备同考今天不布置作业,晚自习在教室里,去机房练习。
这还是我这一学期第一次去机房。。。步入高三之后就没有去过了。
generals好玩
2025年11月1日
今天不用上课,这两周起得最晚的一次。到学校的时候已经没有人了,学校大道上一个人都没有;
中午吃饭的时候正好12点,明日方舟更新了。没有抽出银灰,不过有初雪
13:55
考场里有一个人敲击键盘的声音特别大。。。。。
14:05
这个中文输入法真难用。。。
一年没写代码了,这几天临时突击了一下,还是没有恢复到去年的水平。
试机的时间就写了快速幂和线段树,不知道能不能用的上;
14:23
试机时间好长,写了一个lca
18:17
拼尽全力无法战胜,第二题最后还是没写出来,
一共做了不到200题,高中2年,在学校学信息竞赛,还没摸鱼时间多。。最终只做出第一题,第二题的k=0,第四题的暴力。。。;
不过我不后悔摸鱼的时间,也正是这些时间让我在高二找到了梦想中的专业;
快结束了,学校的同学们也都放假了,除了几个班级强制自愿留在学校的。。。
想想我来竞赛是干什么的,是来陪跑的?还是给CCF捐款560的?
在过210天就要高考了。结束这一次南京之行,又要回到高中学校生活了,有点绝望。
这样的日子里,即使知道为什么而活,也很难忍受这中生活
还有5分钟就结束了
再见,信息竞赛
*/JS-S00104
[T3 T4] 你好,世界!
#include <iostream>
using namespace std;
int main()
{
cout << "Hello world!" << endl;
return 0;
}JS-S00109
[T1] 诈骗人
// assert(freopen("club5.in","r",stdin));
// assert(freopen("club.out","w",stdout));[T2] 保佑我 QWQ
//chennie bless meJS-S00112
[T1 T2 T3 T4] 你是分割我人生的线/又将它们相连
//---------------------------------------------------------------------------------------JS-S00117
[T4] 于是我放弃了输出
for(int i=1;i<=n;i++)
cin>>c[i];
for(int i=1;i<=n;i++)
{
}JS-S00127
[T1] 你在往哪里输出
for (int i=0;i<3;i++){
cout<<s[i]<<endl;
}
freopen("club.out","w",stdout);JS-S00151
[T4] 拼 写 大 师
freopen("emplpoy.in", "r", stdin);
freopen("emplpoy.out", "w", stdout);JS-S00154
[T1] 意义不明的拼音
//zhikuai tangjiatuo-tiaocheng(翻译失败)
[T1 T2 T3 T4] 意义不明的签名
//CRH2C CRH-0507JS-S00160
[T2] 长大以后/我只能睡觉
//I cannot do anything besides sleeping.
//I spend about two hours on a foolish dfs.
//It's funny.
//By the side, about the thing.
//I can't hate anyone, it's all my mistake.
//Kill the world, ans kill me by the side.[T3] 诗人+1
/*
Why are there still millions of mountains out of millions of mountains?
Whose light boat lost its way?
The thing I see, is a dream from start to the end.
I am very foolish that I believe it is a truth.
Let's see the people, the people that seems always happy,
Who had a true smile when they turn around?
Practise day and night, hope to get a good score,
I even dreamed to get a full mark at CSP-S!
But it's a dream, they are all dreams.
So Is the pain I am feeling now a dream?
God, please tell me it's a dream too!
After I get up, I will be a child that full of hopeness and energy again!
Please, please.
But it doesn't happen.
okay, I know that.
It is NOT A DREAM.
But I don't like it!
I have said that I will show my success to them, they laughed to me,they hated me!
But have I do anything wrong?
Why am I be hated?
Why am i be LAUGHED??
I am just, just fighting for my dream, I am just a person that hope to use my skill enstrong my motherland!
What, what had I do.
Some years ago, they called me "the man with many talents", they fighted to be closer to me.
But I am a foolish man now.
After they hurt me, at the age of eleven.
I can't do any thing.
I am a foolish man.
I even can't tell them I am not bad as they think.
But I can't get over 100 points now.
So, laughed at me!
I am so foolish.
I don't have the talent to be a OIer.
I am so foolish that spend years in OI;
I should regret.
Yes.
It's not a brave choose, but I choose it, but I am a foolish man.
It's time to get up.
*/JS-S00163
[T1 T2 T3 T4] 游记人 += 2
- 14:28
The password was down, but it's the morning's(wrong password), which means all the students can't read the problem on time...
-----Dividing Line-----
- 14:40
Finish reading.
I have totally no idea...
- 14:45
Maybe it's fan_hui_tan_xin?
Just try it, the time is rich but also rich.
(xiao_dian_jie_xi: rich -> zhen_gui/fu_zu)
- 15:02
Oh my godddddd!
The five given examples all AC!!!
Yes I know I can do it!
You're the best, just believe in your self.
Have a half of SNICKERS first(not an ad).
----- Dividing Line-----
- 18:25
Every thing is ready, gonna be end.
CSP-S 2025 JS-S00163 rp+=inf!!!!!
*//*
- 15:09
Finish reading and eating()
It's like MST problem, but with more complex choices.
(btw the volunteer in the room has got a chao_long_shan_tu_de badge(Amiya) on his shirt, surprising though.)
Well I don't know the solution in such a short time, but maybe the features can help get at least 16 points?
- 15:18
Go to see T3&T4 first, later try T2.
- 15:28
OK I'm back, I think it'll spend too much time to write bao_li on T3&T4.
- 15:40
Here's my bao_li:
Since k=10,2^k to mei_ju all the possibilities, and use Kruskal (MlogM) to get the MST.
But for every possibilities, M=m+k*n=1.1e6, O(2^k MlogM) is unacceptable, what a pity.
RP+=inf, hope the data won't be too big...
- 16:04
Oh no, data2 used 1.5s, data3/4 more longer...(70s)
at least the answer is correct.
By using Fast IO, data2 1.3s...
Was it because I use Kruskal? But I don't know how to write Prim...
Just go to T3, time might not be enough.
- 17:55
change vector into priority_queue, data2 -> 1.1s ~ 1.2s
Why so close to the TLE line?
I think I've got all the pts I can, hope everything being great.
- 18:00
100+32+15+12=157...
WAIT I think I can get more points(by T2 for sure)!!!
- 18:04
YES I'VE DONE IT!!!
Well, don't be so exciting first.
Actually it less than 24 more pts.
Let's calculate the sum:100+56+15+12=183
Well, lower than my target......
But I think I may get the 1=.
Hope for the best, prepare for the worst.
*//*
- 16:16
Starting bao_li.
Wow the memory limit is 2048Mib ???
- 16:28
Finish the bao_li.
data3/4 is too big...
Bro I thought the program was O(qn^2m) but it's O(q2^n).
- 16:34
Correction.(Restart actually)
Hopefully, after the correction it is O(qn^3) now.(but only 10pts...)
- 16:49
Now think of how feature B works.
Oh the feature B seem to be easy but I only have O(nq), which is 5 more pts.
(neng_xie_yi_dian_shi_yi_dian_le.)
It seems that I'm in deep depression.
No worries, think of you've already finish T1 and some T2, It's OK.
Oh I can't even get 5 pts...
any way, go to T4.
No, I found the mistake
- 17:17
I know that I was wrong, and I thought I've got the 5 pts.
*//*
- 17:25
Finish reading.
OMG I think I don't have enough time, I would only try to get the highest pts if I can.
- 17:34
8pts got.
- 17:37
4pts got.
- 17:40
No any ideas.
I have to look back to T2, even T4 seems to be approachable to get more pts.
*/[T4] 不可以,总司令
printf("0");//No, sir.[T1] 肺腑之言
/*
How to find me(JS-S00163):
Bilibili & Luogu: JQKLUMARKAR
I'd like to write a few words, but I don't know how to type Chinese ans due to my bad English, so maybe I'll use some 'Chinglish' words.
(If you don't make sure what I'm saying, welcome to @JQKLUMARKAR on Luogu, and I'm glad to be shown on posts like'JS mi huo xing wei da shang'.)
(This is not a English writing.XD)
The third year in S, and first year as a senior high school student, I'm feeling very anxious and having a really hard time.
My target this year is to have 1= in both CSP-S & NOIp, but I think it was difficult.
I'm not good at competitions...since I've got 3*CSP-J 2= & 2*CSP-S 2=
And it's likely to be my last year in OI, which may could be called as 'AFO'.
I'll never forget the best time with OI, and the classmates with me.
It's 14:25 and it's time to start.
I'll also write the you_ji under each problem's code.
Even forgot to introduce myself...
Maybe I'll complete it if time is enough.JS-S00166
[T1 T2 T4] 暴戾语言这一块(代码经过处理)
/*F**k!
My logic is well, but the results are just like poos!!!
How can it be wrong......(*n)
*//*
F**k!
Good for small data, but s**t-like for big data!!!
How can it be like this...(*n)
*//*
F**k!
I have no way but to output zero...
Wasting time...
F............CCF
So, that's all.
I'm in 9th Grade now.
See you later...
LATER...
or NEVER...
*/[T3] 这只是个玩笑
/*
I'm just joking......
*/JS-S00170
[T2] 欲言又止
long long n,m,k;
for(int a=)JS-S00173
[T1] sto 物竞佬 orz & 祝好
//away from oi eventually, hoping for CPhO Au
//by kenery(lhp) from jyzx in JS ,2025/11/01 18:35JS-S00175
[T1 T2 T3 T4] 您在向哪里输出?
freopen("club.in","r",stdin);
freopen("club.ans","w",stdout);JS-S00176
[T1 T3] 求求了,给点分数吧
//40ptsPlease!!//4ptsPlease!!JS-S00180
[T1 T2 T3 T4] OI,我错了
//To OI:I'm sorry, don't leave me.JS-S00190
[T1] 为何生活总是这样&祝好
/*
Maybe life is just like this
Nothing to surprise about and nothing to relax
But keep going
Though I may not get 1= in CSP-S
But life needs to be continued
AFO if I did not get 1=
However, the most important thing is
Just enjoy life and just keep stepping towards a better world built up by effort
*/JS-S00191
[T1] 掷!地!有!声!
// 多!测!要!清!空!
// 记!得!初!始!化!
// std::array 不会全赋 0.[T2] 不会卡我吧,不会吧
// bu hui ka wo bing cha ji de log ba.(翻译:不会卡我并查集的 log 吧)
[T1 T2 T3 T4] 解题笔记这一块(由于过长,仅粘贴 T1 结尾的)
/**
* 就是你要最大化,保证没有一个社团人数大于一半。
* 而且是严格大于。
*
* 首先你不能直接记录三个社团的最大值。显然状态数就爆炸了。
*
* 考虑钦定最大值。对于每个社团,钦定最其为最大值。
*
* 跑一个 dp?
*
* 呃呃。先看看 t2。
*
* 保持冷静。很神秘感觉。
*
* 首先没有 n / 2 是显然的。就是直接取 max 即可。
* 考虑加上了这个限制有什么性质。
*
* (emiya 家今天的饭里面是不是有这个限制来着。
* (但是那时计数题。可以容斥。
*
* 最大值怎么办。就是,如果不存在大于一半的,那么显然就直接输出这个答案即可。
*
* 否则要调剂。
*
* 对于每个在最大组的人,记录调剂到另外两个组的最小代价。然后排序调剂最小的几个。
*
* 这个是最优的感觉。一方面调剂之后最大组人数是 n / 2。所以是满足题目要求的。
*
* 哎哎下次不能 dp 起手了。
*
* cur time: start + 75min
*
* 我是不是应该在开 c 之前先写个对拍。
*
* note:
* - 头文件
* - 文件输入输出
* - 局部变量的初始化
* - 多测清空
* - 隐式转化(ull to ll etc.)
* - etc
*
* 保持冷静。不要死于迭代加深深度过小。
*
* 别放弃呀。
*/JS-S00199
[T2] 五年啊五年
//five years, finally.JS-S00201
[T1 T2 T3 T4] 时间换算
//now:22:26->real:14:25[T1] 大样例这一块
3
4
4 2 1
3 2 4
5 3 4
3 5 1
4
0 1 0
0 1 0
0 2 0
0 2 0
2
10 9 8
4 0 0
(省略 215 行大样例)JS-S00203
[T1] 默哀
// freopen("club.in","r",stdin);
// freopen("club.out","w",stdout);JS-S00204
[T3] 继续默哀
//freopen("replace.in","r",stdin);
//freopen("replace.out","w",stdout);JS-S00206
[T1] 如你所愿
//freopen("replace.in","r",stdin);
//freopen("replace.out","w",stdout);JS-S00208
[T2] 疑似有点太城市化了
//urbanlizationJS-S00213
[T1] 优美的代码
for (int i=1;i<=t;i++){
cin>>n;
int sum=0,sum1=0,sum2=0;
int cnt=0;
for (int j=1;j<=n;j++){
cin>>a1[j]>>a2[j]>>a3[j];
if (a1[j]>a2[j]&&a1[j]>a3[j]){
sum++;
cnt+=a1[j];
} if (a2[j]>a1[j]&&a2[j]>a3[j]){
sum1++;
cnt+=a2[j];
} if (a3[j]>a1[j]&&a3[j]>a2[j]){
sum2++;
cnt+=a3[j];
}
if (sum>(n/2)){
sort(a2,a2+n,cmp);
sort(a1,a1+n,cmp);
sort(a3,a3+n,cmp);
if (a2[j]>a3[j]){
sum1++;
cnt+=a2[j];
}else {
sum2++;
cnt+=a3[j];
}
sum--;
cnt-=a1[j];
}
if (sum>(n/2)){
sort(a2,a2+n);
sort(a1,a1+n);
sort(a3,a3+n);
if (a2[j]>a3[j]){
sum1++;
cnt+=a2[j];
}else {
sum2++;
cnt+=a3[j];
}
sum--;
cnt-=a1[j];
}
if (sum1>(n/2)){
sort(a2,a2+n,cmp);
sort(a1,a1+n,cmp);
sort(a3,a3+n,cmp);
if (a1[j]>a3[j]){
sum++;
cnt+=a1[j];
}else {
sum2++;
cnt+=a3[j];
}
sum1--;
cnt-=a2[j];
} if (sum1>(n/2)){
sort(a2,a2+n);
sort(a1,a1+n);
sort(a3,a3+n);
if (a1[j]>a3[j]){
sum++;
cnt+=a1[j];
}else {
sum2++;
cnt+=a3[j];
}
sum1--;
cnt-=a2[j];
}
if(sum2>(n/2)){
sort(a2,a2+n,cmp);
sort(a1,a1+n,cmp);
sort(a3,a3+n,cmp);
if (a1[j]>a2[j]){
cnt+=a1[j];
}else {
sum1++;
cnt+=a2[j];
}
sum2--;
cnt-=a3[j];
}
if(sum2>(n/2)){
sort(a2,a2+n);
sort(a1,a1+n);
sort(a3,a3+n);
if (a1[j]>a2[j]){
sum++;
cnt+=a1[j];
}else {
sum1++;
cnt+=a2[j];
}
sum2--;
cnt-=a3[j];
}
}
if(cnt==10){
cout<<"13"<<endl;
}else {
cout<<cnt<<endl;
}
}
return 0;
}[T1 T2 T3 T4] 你这freopen保熟吗
freopen("club.in","r","std.in");
freopen("club.out","w","std.out");JS-S00215
[T4] 珂学家
//Chtholly_NotaJS-S00216
[T1] 行为艺术这一块
if(n == 30){
for(int a = 1;a <= 3;a ++){
for(int b = 1;b <= 3;b ++){
for(int c = 1;c <= 3;c ++){
for(int d = 1;d <= 3;d ++){
for(int e = 1;e <= 3;e ++){
for(int f = 1;f <= 3;f ++){
for(int g = 1;g <= 3;g ++){
for(int h = 1;h <= 3;h ++){
for(int i = 1;i <= 3;i ++){
for(int j = 1;j <= 3;j ++){
for(int k = 1;k <= 3;k ++){
for(int l = 1;l <= 3;l ++){
for(int m = 1;m <= 3;m ++){
for(int n = 1;n <= 3;n ++){
for(int o = 1;o <= 3;o ++){
for(int p = 1;p <= 3;p ++){
for(int q = 1;q <= 3;q ++){
for(int r = 1;r <= 3;r ++){
for(int s = 1;s <= 3;s ++){
for(int t = 1;t <= 3;t ++){
for(int u = 1;u <= 3;u ++){
for(int v = 1;v <= 3;v ++){
for(int w = 1;w <= 3;w ++){
for(int x = 1;x <= 3;x ++){
for(int y = 1;y <= 3;y ++){
for(int z = 1;z <= 3;z ++){
for(int aa = 1;aa <= 3;aa ++){
for(int bb = 1;bb <= 3;bb ++){
for(int cc = 1;cc <= 3;cc ++){
for(int dd = 1;dd <= 3;dd ++){
tong[a] ++;
tong[b] ++;
tong[c] ++;
tong[d] ++;
tong[e] ++;
tong[f] ++;
tong[g] ++;
tong[h] ++;
tong[i] ++;
tong[j] ++;
tong[k] ++;
tong[l] ++;
tong[m] ++;
tong[n] ++;
tong[o] ++;
tong[p] ++;
tong[q] ++;
tong[r] ++;
tong[s] ++;
tong[t] ++;
tong[u] ++;
tong[v] ++;
tong[w] ++;
tong[x] ++;
tong[y] ++;
tong[z] ++;
tong[aa] ++;
tong[bb] ++;
tong[cc] ++;
tong[dd] ++;
if(max(tong[1], max(tong[2], tong[3])) <= 15){
ans = max(ans, cnt[1][a] + cnt[2][b] + cnt[3][c] + cnt[4][d] + cnt[5][e] + cnt[6][f] + cnt[7][g] + cnt[8][h] + cnt[9][i] + cnt[10][j] + cnt[11][k] + cnt[12][l] + cnt[13][m] + cnt[14][n] + cnt[15][o] + cnt[16][p] + cnt[17][q] + cnt[18][r] + cnt[19][s] + cnt[20][t] + cnt[21][u] + cnt[22][v] + cnt[23][w] + cnt[24][x] + cnt[25][y] + cnt[26][z] + cnt[27][aa] + cnt[28][bb] + cnt[29][cc] + cnt[30][dd]);
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}JS-S00223
[T2] 意义不明的文字
//xutailingzhileidi
//xutailingzhileidi
//xutailingzhileidi
(省略 56 行相同内容)(翻译失败)
JS-S00226
[T1 T2 T3 T4] 最后一吻&扩列
//my last kiss for OI | 551870JS-S00227
[T3] 目的明确
//This question is too hard.
//I love CCF.
//Please give me some points.
//Please!!!
//rp++[T4] 我不明白
//I can't understand this question.JS-S00233
[T3] 我不管我只要rp
cout<<"rp++"<<endl; cout<<"rp++"<<endl;
cout<<"rp++"<<endl;
cout<<"rp++"<<endl;
cout<<"rp++"<<endl;
cout<<"rp++"<<endl;
cout<<"rp++"<<endl;
(省略将近 20 个相似代码块)JS-S00237
[T1] 丑陋的代码
//an ugly code[T2] 另一个丑陋的代码
//another ugly code[QAQ][T2] 意义不明的数组长度
int f[11];
int ff[11];
int fff[11];
int fa[11234];
struct roads{
int fromu,tov,costw,realcost;
int iscoun;
}r[1100456];[T4] sto 数竞佬 orz
#define CMO 998244353[T4] 真是失败
//failed