2024 CSP-S SC 迷惑行为大赏
Halberd_Cease · · 休闲·娱乐
代码之最
T1 最长代码
恭喜 SC-S00532,以 5752 字节的成绩强势夺冠!
写了一个 linux 下的代码对拍器,放在注释中。
T2 最长代码
恭喜 SC-S00308,成绩是 10123 字节!
有一串上升的序列,不清楚是啥意思(
另:祝高考成功!
// classical ending
// Happy Grade 12.University Entrance Exam rp+=INF
// Sukwants zyt 2745518585 syysongyuyang pokefunc 251sec zsq147258369
T3 最长代码
恭喜 SC-S00447,成绩 23250 字节。
是 23250 个 6,表达了该同学对 CCF 无尽的赞美/oh
另外,本题还有两位同学成绩达到了 10000 分,他们分别是:SC-S00221 和 SC-S01203,成绩分别是:18019 和 10155,祝贺他们!
SC-S01203 的代码是目前来说有明确意义的最长代码,链接在这云剪贴板 - 洛谷 | 计算机科学教育新生态。
T4 最长代码
恭喜 SC-S00532 同时荣获本题最长代码,成绩 8610!
T1 最短代码
恭喜 SC-S00020 以 170 字节的成绩夺冠,险胜第二名 6 字节。
T2 最短代码
恭喜 SC-S00584 夺冠,成绩 1 字节(
#
T3 最短代码
本题有两位并列第一,分别是 SC-S00013 和 SC-S00181,成绩均为 1 字节,恭喜!
SC-S00013 color.cpp
]
SC-S00181 color.cpp
1
T4 最短代码
有 5 位选手夺冠,他们分别是:SC-S00013、SC-S00181、SC-S00177、SC-S00584 和 SC-S00021,祝贺他们!
SC-S00013 arena.cpp
]
SC-S00021 arena.cpp
2
SC-S00177 arena.cpp
1
SC-S00181 arena.cpp
1
SC-S00584 arena.cpp
#
再次祝贺以上所有获奖选手,恭喜他们!
27 个文件中有 46 个 //freopen
焦点关注:SC-S00125
/*
arena
actuall i have spent about 3 hours to write T1 ~ T3
and i AC big data and i test them on NOI_LINUX for 30mins
so i may get 300pts (i hope so)
There is a long timian on T4, i don't want to see problems anymore
I'm in SC, so if i can get every pts i can and AC just a hard problem,
i can get tg1= and get in NOIP
i LOVE CCF i LOVE CCF i LOVE CCF love ccf love ccf
if you can see me on qipaxingweidashang-CSP-S-2024 CSP-S CSP-J/S CSP-J
don't : //freopen //freopen //freopen
so good good prepare NOIP and get the points that you want
i am gaoyi grade so may be i will be AFO this year or the next year
i don't expect i can get in SCshengdui, but i want to get NOIP 1= (i hope so)
i love my OI teacher HS
i love my OI class_room SW_4_405
the happiest day is the days i was trainning with my friends
althougt it's holiday
Doing the things i like with people who loves it too is so rare.
if i can get good pts in NOIP, i can stay in jifang for long
so i will gangbate !
there hai left 00:31:52
but i don want to write T4
i think T4's code is must be very very long
so i don't write T4
22mins later i can have a big meal with my friends in jifang ohhhhh
we go to eat hot pot
why time goes so slowly ?????? aaaaaaaaaaaaaaaaaaaaaaaaaaa
wu neng kuang nu
i really dont want to write T4
it's my biggest effort to see T4 ti mian and understand what chutiren want to say
if dalao write T4, just give me see see
if code > 100 lines
so it's the good choice to no write T4
why T4 has a so long timian ??????? i think it's a big moni
i love the problem that has easy timian but hard
it is what attracts me
no a long timian to make me don't want to see the problem!!!!!
there also has 17mins, i don't want to write and want to have a big meal
after the CSP, may be i'll write my huiyilu
*/
#include <iostream>
#include <cstdio>
const int N = 100005;
int a[N], q[N], ta[N];
int x[4];
char c[N];
//i only want to AC special BBBBBb
/*
But it seems more difficult than i think
there left me 46mins
so i (ting tian you ming) ba
*/
int main(){
freopen("arena.in", "r", stdin);
freopen("arena.out","w",stdout);
printf("0");
return 0;
}
这位同学最后应该是得到了 TA 所期望的 300pts,祝 TA 好运。
焦点关注:SC-S00265
/*
T4题解
现在是17:45,什么概念呢?
就是说,我的同学已经放学快半个小时了,为还要写40分钟的奇葩代码。
为什么不写T4,因为不会。
所以T4怎么做?
首先发现当K_sp<Q时,会产生沉淀,但是这时候内环境不会产生变化,因为有神经-体液-免疫调节网络。
此时,正如T2,P点会在空间向量AP上做匀变速直线运动,于是《万物既伟大又渺小》好于《大地之歌》。
又因为胰岛B细胞释放胰高血糖素,平衡正向移动。
于是得到v_t^2=2ax+v_0^2
英语课文填空就做出来了。
你知道吗?疯狂肘击电脑屏幕能切入level 0,这样你就不用学OI了!
如何写好时评类作文?
今天语文课写这个,但是我翘了。
你说的对,但是舞萌DX是一款由Sega开发的全新洗衣机街机音游。
我认为,为了体现Information Olympic,所以应该只有1个金牌,一个银牌,一个铜牌。
但是为了金牌数量,我们应该分出许多个分项,例如男子大模拟,男子网络流,女子计算几何之类的。
这样才使OI更像OI。
天苍苍,野茫茫,风吹草地见牛羊。争渡,争渡,惊起一滩鸥鹭。
关注洛谷FatoldEight
关注B站洛天依
后记:这个抽象注释使我没能AK
//freopen()
in","w",stdout)
*/
是同好欸!关注B站洛天依谢谢喵!
焦点关注:SC-S00707
#include<bits/stdc++.h>
using namespace std;
int main(){
freopen("arena.in","r",stdin);
freopen("arena.out","w",stdout);
return 0;
}
/*
IIIIII WW WW AA NN NN TTTTTTTTTT TTTTTTTTTT OOOOOO GGGGGGGG EEEEEEEEEE TTTTTTTTTT 11
II WW WW AA AA NNNN NN TT TT OO OO GG EE TT 1111
II WW WW WW AA AA NN NN NN TT TT OO OO GG EE TT 11 ==========
II WW WW WW AA AA NN NN NN TT TT OO OO GG GGGG EEEEEEEEEE TT 11
II WW WW WW AAAAAAAAAA NN NN NN TT TT OO OO GG GG EE TT 11 ==========
II WWWWWWWWWW AA AA NN NNNN TT TT OO OO GG GG EE TT 11
IIIIII WW WW AA AA NN NN TT TT OOOOOO GGGGGGGG EEEEEEEEEE TT 111111
SSSSSSSSTTTTTTTTTT OOOOOO
SS TT OO OO
SS TT OO OO
SSSSSS TT OO OO kkksc03,chen_zhe,PinkRabbit,Alex_wei......
SS TT OO OO
SS TT OO OO
SSSSSSSS TT OOOOOO
//freopen
//freopen
*/
字符画 & 拜谢人
焦点关注:SC-S01103
//Hi, to you who was reading this code.
//hi,ccf.
//"write my name in front of the mountains!" says Xwty.
//this may be my last year in the road of NOI.
//I am an xxs, starting to code in grade 3 and c++ in the summer of 4to5.
//I love OI, and I have Worked hard.
//in my first year, i got 63pts in the first round(-j), ensureing that my first year of OI has no vectory.
//now, i am better at coding, 83.5 and 51.5 pts in the first round, so here i am, compeating in both levels.
//today morning, i took part in junior, maybe 230~260 pts? i could be 1=!
//but now, here I am,sitting in the room of Seinor, having no idea of how to code.
//while two "NOI 2024" T-Shirted NOIers strikes away with the keybord, i was left with a broken mouse, a stuck kkkkkkeybord, and a brain of mash.
//maybe 25pts? (if i was lucky)
//sto CHEN_ZHE KKKSC03 orz
//%%%%%%%%%%%%%%%%%%%%%%%%
//goodbye, OI!
//Hint: just put this in "qipadaimadashang"!
//you can find me on luogu: chenyuheng01
//github: chengyuheng-lucas
//i will hu guan with you on luogu.
//thank you, OI!
//to ensure that you find this part:
//--------------------------do not read below this line--------------------------\\
//freopen
//CCF
//Genshin
int main(){}
应你的要求,我们将你收录进“迷惑行为大赏”。
6 个文件中有 16 个 // freopen
焦点关注:SC-S00532
TA 的每一份代码中都有:
// freopen("wonderful.ans", "r", stdin);
// freopen("www.ww", "w", stdout);
膜拜这位朋友,376pts/bx/bx/bx。
焦点关注:SC-S00596
// freopen
// my career has been ended.
祝好。
26 个文件中有 62 个 CCF
焦点关注:SC-S00033
数据删除
焦点关注:SC-S00125
额好像写过了(
焦点关注:SC-S00211
代码中出现变量名 sbccf 或字串包含其,祝好。
焦点关注:SC-S00232
#include<bits/stdc++.h>
int main(){
freopen("arena.out","w",stdout);
printf("329154437110732\n894132907628644");//fuck CCF!!!
}
祝好。
焦点关注:SC-S00807
/*
ccf以痛吻我,我仍报之 以歌
*/
//多测清空,qnmd-ccf
祝好。
焦点关注:SC-S00854
/*
14:16
第一感想:这次怎么整的这么高级
第一次,也是最后一次在CCF赛场上用到WIN11和流畅的电脑,以及竟然有小熊猫IDE(竟然不是万年DEV),类目了
考试系统也挺高级的,某种意义上咱真是没有赶上好时代呢
嗯,回到久违的九光,重新摸起键盘(大抵有五六个月没写过代码了吧),还希望不要忘记头文件怎么写(
会爆零吗?会赢的awa
14:24
虽然还没有成年,总有一种“未来还是属于年轻人”的感慨啊,高三对于OIer来说也算是暮年了罢
不知道今年SDOI成绩会怎么样呢......还是会有一些情怀吧
顺带一提没吃午饭......而且好像也没吃早饭!饿(⊙﹏⊙)
14:32
第一眼看题目:没有诗歌鉴赏,没有解析几何,没有完形填空,没有受力分析......
就这是一个会让你感到沮丧的OI啊!
14:35
啊,真的可以这么简单吗,真的这么适合老年OIer吗
顺带一提这个键盘真舒服awa
14:43 finished
嗯......其实咱有一个梦想......AK CSP!
这也许是一个好的开始QWQ
*/
/*
14:46
加速度!v-t图形!共速判定!
的确学好物理有一点帮助------初中的同学们记得算T停啊(
希望世界上不再有物理(
14:48
天哪,这么多运动学公式
还真是利好老年OIer(WHKer,划去)呢
14:51
进入认真模式了嗷
不难求出每辆车的超速区间,问题转换为:
给定n条线段m个点,要求选取最少的点,使得每个线段内都有一个点
注意到一个良好的性质:匀加速车若超速则必定贴近端点
是否存在一个贪心:按照左端点排序,每条线段若没有对应的点,选取最右边的点?
容易否定:考虑一条极短线段被包在前后两个左端点之间
14:57
离散化后L=2n
另外注意处理精度误差--EPS
15:00
能否对线段情况分类讨论?
按照左端点排序,下一跟线段可能与当前线段:包含,相交,相离
15:03
对的!如果A线段包含B线段,则B线段若能解决,则A线段自然解决
故解决了包含的情况!
这种思想应该是在之前做过的题里面积累的......刷过的题总还是有用啊
之后貌似就可以用之前那个贪心了!
15:06
记得特判相等线段!
15:21
写完这道题就奖励自己吃巧克力
16:00
才发现不能这么做
A线段包含B线段,A线段内有点,B线段内无点,怎么办呢?
对了,提前排除所有本来就找不到摄像头的车就可以了!!!
16:42
debug了有一会儿了
首先看时间,AK是不可能的了awa
本来也没那个实力嘛
以及原来double输入的这么慢吗?读入6s吓死人了
好像常数有亿点点大......样例三1.6s
16:48
天哪......咱连一秒钟能跑多少复杂度都忘了......
16:58
唉......为了提取大样例还写了个程序,写了好久呢......
最终压力测试3.5s,要卡一半的常数啊......真困难QWQ
17:04
发现问题了!把cam给sort20遍花的时间太多
其实咱早就注意到了L的范围很小呢,看来果然是有用的
17:08
不是......咱真是个小可爱......
问题不在于排序,在于cam数组还是用double读进来的......
但是改完又错了......
17:45
啊.......是删调试的时候把正确代码删掉了呢
......
不知道该说什么
*/
/*
17:51
因为自己的若只错误耽搁了很多时间......后面两道题暴力都难了
*/
#include<bits/stdc++.h>
using namespace std;
#define Akano 1018
int main(){
freopen("arena.in","r",stdin);
freopen("arena.out","w",stdout);
ios::sync_with_stdio(false),cin.tie(0),cout.tie(0);
cout<<"Goodbye OI!"<<endl;
return 0;
}
/*
18:27
大抵是退役赛了
还是有很多遗憾的吧,T2若只debug打了太久,没有时间写T3T4的暴力
man,what can I say?OI OUT!
如果有机会的话,XCPC见!
Goodbye OI!
*/
加油!祝你在高三有一个理想的成绩,一个光明的未来!
焦点关注:SC-S01150
//CCF吃枣药丸,出这么难(简单)的题
//难度:和chen_ze贴脸开大并使账号活下来后推翻暴政(bushi
//给神仙(狗)做呢 (CCF_WCNM(WXLSZJD&&YFW
//当你看见这句话时,我已经草神2+1(bushi
//你会发现七七与迪卢克特别多(hh
//因为你的草神已经被我拿走了(hh
//BREGHGH
//学长真厉害
//能给草神做生贺
//我只配做作业。。。
//CSP-S过的靠实力太强
//CSP-J没过是运气太差
//渴望三等奖
//想要二等奖
//梦想一等奖
//但,就这30分,有什么用呢
羡慕草神2+1(
焦点关注:SC-S01081
/*
17:00 开始做t4(花了20分钟改T2)
17:40
完了,可能做不来了,感觉7级钩子线>300,不能在这里倒下!
我不能就这样放弃,【数据删除】一定能做出来!!!
17:47
前面的题改得差不多了,T2的精度问题现在应该没有因为把浮点数改了
T4感觉还有戏,K2^K 的做法努力应该能想出来 这样就6,70分了
17:57
感觉思路比较对但是细节完全理不清
每层每个点作为决策被删了就永远被删了
确定一个新的数往上走
18:02
感觉不太能想出来了,暴力有12分先拿,前面三道题可不能像信心赛一样挂分啊!
要被其他人吊打了,呜呜呜,要AFO了……
18:20
最后10分钟,准备检查代码,完了连T4暴力都没调出来
呜呜呜,惨淡退役了……
*/
膜拜对耶/bx/bx/bx
另:应当事人要求,已将关键信息打码。
4 个文件中有 7 个 luogu
焦点关注:SC-S00572
/*
感觉还好,只是 IDE 经常卡死。
不过对实力影响还是有点大。
不爆零就行,纯当模拟赛了。
这次倒是有安检,但没那么严。
大括号自动换行烦死了,对压行选手不友好。
--14:20
顺序开题。
T1 写调交 + 检查 --14:40(蔡司了)
T2 写调交 + 检查,顺便中途想了一下 T3 --15:20(真得退役了,菜)
T3 写调交 + 看 T4 --16:20(假了一会儿,码力下降严重)
想 T4 暴力 + T3 上拍 + 写记录 -- 16:45
然后吃饭(好干啊,不想吃)
怎么前三题都是唐题呀?我好像更唐。
早知道带瓶水了呜呜。
隔壁小朋友吃得好香,好饿啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊。
饿晕了。但是感觉四个题都比较唐。
滚回去卡了一下 T3,感觉会出锅,现在是 17:05 不想写了。
颓废了 0.5 h 了哈哈哈哈哈。
发现 IDE 坏了,出现了牛魔缩进。
随便写一下然后跑路吧?
呃呃呃,怎么开始摸鱼了?
颓废了 1h 了哈哈哈哈哈哈。
写 16pts 跑路。
Luogu: @Mugino_Shizuri
*/
12 个文件中有 42 个 see
焦点关注:SC-S00088
void work_when_datas_less_than_zero_spC()
{
//I'm so sorry that it TOO DIFFICULT for me to finish the rest parts.
//I feel NOT WELL!
//I even feel the world is shaking!
//GOD bless me!
//OR,it may be not such difficult but troublefull for me to finish this problem.
//Haha, the letter "f" is so beautiful!I can speak Engilsh so well!
//Oh, it's only an hour left!
//so why I'm writting these things?
//ok, I'm going to write the next problem because I fell better now!
//I decide to write only these:
cout<<"2896 945\n2936 853\n2916 1284\n2958 1946\n2934 547\n2951 290\n"
<<"2939 1729\n2912 1346\n2925 1382\n2946 783\n97336 56379\n"
<<"97579 4302\n99107 55715\n99534 5319\n97519 72666\n98905 44332\n"
<<"99278 76554\n99558 73837\n99589 27272\n99293 66848\n";
return ;
//Oh, it's so messy.
}
//SEE THE FUTURE, KNEE THE FUTURE!
焦点关注:SC-S00604
// Standard iostream objects -*- C++ -*-
// Copyright (C) 1997-2014 Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library 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 3, or (at your option)
// any later version.
// This library 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.
// Under Section 7 of GPL version 3, you are granted additional
// permissions described in the GCC Runtime Library Exception, version
// 3.1, as published by the Free Software Foundation.
// You should have received a copy of the GNU General Public License and
// a copy of the GCC Runtime Library Exception along with this program;
// see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
// <http://www.gnu.org/licenses/>.
/** @file include/iostream
* This is a Standard C++ Library header.
*/
//
// ISO C++ 14882: 27.3 Standard iostream objects
//
#ifndef _GLIBCXX_IOSTREAM
#define _GLIBCXX_IOSTREAM 1
#pragma GCC system_header
#include <bits/c++config.h>
#include <ostream>
#include <istream>
namespace std _GLIBCXX_VISIBILITY(default)
{
_GLIBCXX_BEGIN_NAMESPACE_VERSION
/**
* @name Standard Stream Objects
*
* The <iostream> header declares the eight <em>standard stream
* objects</em>. For other declarations, see
* http://gcc.gnu.org/onlinedocs/libstdc++/manual/io.html
* and the @link iosfwd I/O forward declarations @endlink
*
* They are required by default to cooperate with the global C
* library's @c FILE streams, and to be available during program
* startup and termination. For more information, see the section of the
* manual linked to above.
*/
//@{
extern istream cin; /// Linked to standard input
extern ostream cout; /// Linked to standard output
extern ostream cerr; /// Linked to standard error (unbuffered)
extern ostream clog; /// Linked to standard error (buffered)
#ifdef _GLIBCXX_USE_WCHAR_T
extern wistream wcin; /// Linked to standard input
extern wostream wcout; /// Linked to standard output
extern wostream wcerr; /// Linked to standard error (unbuffered)
extern wostream wclog; /// Linked to standard error (buffered)
#endif
//@}
// For construction of filebuffers for cout, cin, cerr, clog et. al.
static ios_base::Init __ioinit;
_GLIBCXX_END_NAMESPACE_VERSION
} // namespace
#endif /* _GLIBCXX_IOSTREAM */
#include<stdio.h>
using namespace std;
int n,a[100000]={0};
int bs(int len){
for(int i=0;i<len-1;i++){
for(int j=i+1;j<len;j++){
if(a[i]>a[j]){
swap(a[i],a[j]);
}
}
}
return a[0];
}
int main(){
freopen("duel.in","r",stdin);
freopen("duel.out","w",stdout);
cin>>n;
for(int i=0;i<n;i++){
cin>>a[i];
}
bs(n);
// for(int i=0;i<n;i++){
// cout<<a[i];
// }
// cout<<'\n';
bool flag=1;
int late=a[0],now=a[1],sum=1;
for(int i=1;i<=n;i++){
if(sum==0){
flag=true;
}
if(flag){
late=now;
}
now=a[i];
if(late!=now){
if(now<=0||late<=0){
break;
}
for(int j=i;j<n-1;j++){
a[j]=a[j+1];
}
int t=a[0];
a[0]=0-now;
for(int j=1;j<n-1;j++){
a[j]=t;
t=a[j+1];
}
n-=1;
sum--;
i--;
flag=false;
// cout<<sum;
}else{
sum++;
}
}
cout<<n;
fclose(stdin);
fclose(stdout);
return 0;
}
头文件展开哥拜谢/bx
焦点关注:SC-S00698
/*
2024.10.26
14:53 see the timian, bengbuzhule :) .... smile
15:00 emm, feel not well to solve. Fir to write the in and out though.
15:03 To the first prob:
if car[i].a >= 0, goto the last checkin.
else find the first check on his right, to check the V
15:22 I can avoid double right? Only need to "Times Vm" on the Right
emmm , need to judge the zero, that's right......
15:26 sample3, problem1 is failed...
15:47 WSSB!!! pos[m] write --> pos[n]
15:52 Done fir prob, judge the relation of distance
15:55 Think of prob two:
if car[i].a > 0, we only need to "baoliu" the last checker, because it is enough
How about the car[i].a < 0? bitset --> Size.O(nm) ? To "zhipei" the needed checker?
16:05 if a < 0, the useful checker is in a length, so in every car (which will be checked) has an L and R;
then the problem2 has changed to a "Tanxin" to choose. Done
16:29 Prob2 is finish write, but failed on sample2.
16:32 once a test, find that: Samp2 T tests' answers #5 is diff to Samp2 1test --> more tests problem
up to now, it has 2 hours still.
16:36 Line 105 for(cnt --> n), done samp2,
16:39 Done samp3, samp4, but samp5 WA 2 ??????????????? What the ****???
I had stay here for nearly two hours!!!!
16:53 isn't the "More Tests"'s wrong, What can I do now??
16:57 Why I cal more 1 or 2?????????????????????????? Answer1 is right! Why ans2 wrong?
17:10 Line86, I thought is RE to WA, but not... T_T if a==0, it won't get in "else"
17:27 only 1hours, still here, ans2 bigger --> a[i].l bigger
17:33 toilet back
17:39 What the use of "L"? Only pos[m] is useful?
17:44 or a[i].r smaller
17:49 What can I say?? Man!!! GO!!
*/
What can I say?
焦点关注:SC-S00786
//Ni zai na er ,kai se lin! wo neng ting jian ni de sheng yin!!!!
#include<bits/stdc++.h>//SC-S00761 (stranger12) AK CSP-S!!!!%%%%%%%%%
using namespace std;
#define ll long long
int n,m,s,l;//Oh I tell u all about it when i see u again.
ll a[1145141];//When i see u again↑->↘
ll c[1145141];
int main() {
freopen("arena.in","r",stdin);
freopen("arena.out","w",stdout);
cin>>T;
while(T--) {
int n=rand()%1e5;
if(n>5000&&n<=1e5) //I must be the reason why,u have given up your smiles
cout<<rand()%1145141919<<endl;
}
else if(n<=5000&&n>=500){
cout<<rand()%114514<<endl;//I'll kill,I'll destr0y the wor1d
}
else cout<<rand()%1145<<endl;//AFO QAQ
return 0;
}
//HEATHCLIFF!!!!!!!!!!!!!!
牢大,我想你了!
33 个文件中有 88 个 man
不过大多好像是 many 或者 \#include<iomanip>,咋没牢大?
1 个文件中有 1 个 lolita
焦点关注:SC-S00168
/*
...
他妈的终于对了
I want to get NOIP 1= !
This is my last chance.
Please!
I will wear Lolita!*/
朋友,记得给我发照片/se/se/se
4 个文件中有 15 个 colour
焦点关注:SC-S00608 和 SC-S00797
freopen("colour.in", "r", stdin);
freopen("colour.out", "w", stdout);
祝好。
更多资讯
显得我写完了
#include<bits/stdc++.h>
using namespace std;
int main(){
//显得我写完了
return 0;
}
不会做思密达
int sd2(int u, int a, int ssd)
{
return 114514;//不会做思密达
}
人事已尽
//考虑扫描线预处理 ans
//应该可以做到 O(Tn\log n)
//未知数必胜!
//啊啊啊,没有时间去写了
//人事已尽...
找不到差异
//'random.exe' 不是内部或外部命令,也不是可运行的程序
//或批处理文件。
//'duel.exe' 不是内部或外部命令,也不是可运行的程序
//或批处理文件。
//'sol.exe' 不是内部或外部命令,也不是可运行的程序
//或批处理文件。
//正在比较文件 data.out 和 DATA.ANS
//FC: 找不到差异
优化哥
// 50pts 的 O(n^2) DP 是简单的。
// 我该怎么优化?我该怎么优化?我该怎么优化?
切之哥
// 简单贪心即可
// 排序后选择第一个大于他且还未攻击过别人的人把他毙掉
// pq 维护即可
// T1 切之
hate physics 哥
// freopen("arena.in","r",stdin);
// freopen("arena.out","w",stdout);
// 14:47:11 AC T1
// 14:50 I LOVE D,tmd.physics!NOW I HATE PHYSICS!F**K!
// 16:51:29 暂时放弃T2,拿T3的20分,继续调T2(T2正解大概是想到了吧)
// 17:20 T2 ans1 AC,死磕ans2。(会正解写不出来)
// 17:28 tmd!!!ans1错了!!!!!!!!!!!!!!反而ans2是对的(崩了) AFO
// 17:30 AFO
读书 0 卷哥
//天灵灵,地灵灵,永远不爆0!
//勤能补拙是废话,一分辛劳倒减才!
//读书只0卷,下笔才有神!
//海日生残夜,江春入旧年;摆烂十二年,红烧牛肉面!
//学而不思则罔,思而不学则殆,不思不学则爽!
//大脑一去不复返,小脑停摆莫得有!
//人固有一死,或重于泰山,或轻于鸿毛,或出生即死!
//扪参历景仰挟吸,以手摸脑坐长叹!
//天行健,君子以自强不息;地势坤,君子以厚德载物;我有病,君子以无我这般!
//海阔凭鱼跃,天高任鸟飞,CSP没我位!
//漠漠水田飞白鹭,阴阴夏木啭黄鹂;傻傻考场中坐个我,懵懵憨货里没有您!
//孤鸿与我齐飞,秋水共长升天去!
//停车坐恨封0晚 ,血泪红于二月花!
//八百里分三六九等,五十弦比四七八分,沙场上,我是0分!
//啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊!
//252525252525252525252525252525252525252525
//嗷嗷嗷嗷嗷嗷嗷嗷嗷嗷嗷嗷嗷嗷嗷嗷嗷嗷
//呜呜呜呜呜呜呜呜呜呜呜
//嘶嘶似死死,试试是逝世!
//(qwq)就给个100吧!
//考的都会,蒙的全对!
组诗哥
//曾有多少春风画卷留住盛世花,记得年年今日烟火满京华
//千人万人千里万里送我指尖沙,二十八年梦里水月与镜花
//人间曾一顾摧城再顾摧万甲,不见日月凌空青丝尽白发
//江山摇落阴阳两错咫尺亦天涯,九重宫阙倾颓星坠那一刹
(希望我没有放错顺序
厕所臭哥
#include<bits/stdc++.h>//男厕所的**太臭了
恶心题哥
//暴力写不了一点
//尽出恶心题
爽哥
//其实如果在计算以上内容用 二分 会快很多
//时间复杂度来到O(n*log m);
//然后下面再 区间贪心 应该能拿100分
//但还是那句话,我只是来打酱油的
cout<<ans1<<" ";
//宇宙级免责申明:我知道第二个答案当有加速度小于0时要贪心枚举右端点
//1.我打完后发现 存测速仪的方法来打答案二 非常麻烦
//2.懒得写贪心了,毕竟我只是个打酱油的
//3.只写加速度大于或等于0的情况非常简单 爽
//但这意味着我前面以一种十分诡异的方法存的测速仪 约等于报废
//而且我只能拿20分了
if(tt){//不明自我欺骗代码
cout<<m-2<<endl;
}
cout<<m-1<<endl;//是的,爽就对了
}
return 0;
}
//最后一次更改:2024/10/26 16:50:56
//其实如果在计算以上内容用 二分 会快很多
//时间复杂度来到O(n*log m);
//然后下面再 区间贪心 应该能拿100分
//但还是那句话,我只是来打酱油的
cout<<ans1<<" ";
//宇宙级免责申明:我知道第二个答案当有加速度小于0时要贪心枚举右端点
//1.我打完后发现 存测速仪的方法来打答案二 非常麻烦
//2.懒得写贪心了,毕竟我只是个打酱油的
//3.只写加速度大于或等于0的情况非常简单 爽
//但这意味着我前面以一种十分诡异的方法存的测速仪 约等于报废
//而且我只能拿20分了
if(tt){//不明自我欺骗代码
cout<<m-2<<endl;
}
cout<<m-1<<endl;//是的,爽就对了
}
return 0;
}
//最后一次更改:2024/10/26 16:50:56
老忘 return 哥
if (l > r)return; //你咋老忘这一句
入机哥
...//全是入机
...//两边都有入机
...//只有一边有入机
今非昔比哥
//我今非昔比了啊,CSP-S
计划一部分哥
//这是计划的一部分
圣经哥
//“如果都不会,干脆输样例”————JCOI圣经第三章第八节
RP++哥
//RP++
//RP++
//RP++
//RP++
//RP++
//RP++
//RP++
//RP++
//RP++
//RP++
//RP++
//RP++
//RP++
//RP++
//RP++
//RP++
//RP++
//RP++
//RP++
//RP++
//RP++
//RP++
//RP++
//RP++
//RP++
//RP++
//RP++
//RP++
//RP++
//RP++
//RP++
//RP++
//RP++
大寄哥
//乱七八糟的dp
//我在干什么???
//大寄
寄哥
//寄
踩踩付哥
//美醉了哈,踩踩付。全票打飞这个最美伪人踩踩付哈。
//踩踩付你柠檬水没了哈
玩坏了哥
//被玩坏了
全寄了哥
#include<bits/stdc++.h>
using namespace std;
int main(){
freopen("arena.in","r",stdin);
freopen("arena.out","w",stdout);
cout<<1;
fclose(stdin);
fclose(stdout);
return 0;
}
//全寄了
故事哥
//读完了依赖 我很快就离开
//趁时间没发觉 让我带着你离开
//也许在不同的时空 还牵着 你的手
//故事中的我们 在演自己的人生
(希望这个也没有放错顺序
GUApts 哥
//please, rp++.
//my score is 100+100+50+0=250 now
//if there is no GUApts or just a few GUApts, I'll get 1= in CSP-S2024.
//if I can't get 1=, it will be my last contest in junior high school, and, the most importantly, I'll become Big Dino
识别哥
/*
你应该识别的
11451419198101145141919810
题目名:arena
360吧,凑个整,您吉祥!
写的来但是不想写了,太石山了!
哎呀你妈哪里来这么多细节?
低估了实现难度,写不完了,检查去了
幸好不是noip
国集线400,对线360+
要是C调快一点说不定就有360了
保佑ABC不挂
*/
垫底哥
/*
特殊性质 A,B 都是模拟
可以发现,我们最终可能成为答案的部分是:一个区间 + 一个确定的数
你不觉得这个结构很像线段树吗?
我们先试着用线段树模拟一下
完蛋,性质伪掉了。。。只能过 A,B 了 qwq
只有二十分钟了,我这码力太弱了。
估计这回是垫底吧(悲)
估计 way,lsc,nzy,hzx,lph,csy 中间有一个人能做出来,祝他们 AK csp-S!!!
*/
刷题哥
/*
烦.............
最后没什么时间做t3,t4........
我是five.........
这次不知道是怎么了甚至前两道题都没想到正解..........
只能打打暴力骗分了......
第一题还有玄学错误......
第二题那更是不敢看......
第三题形式化看不懂......
第四题大图论不会做......
上午J组还有可以骗的.....
下午被S组薄纱....
感觉昨天晚上睡太久,人睡没了.....
while(1)cout << "我是five " << '\n';
烦.........
如果你看到这个玩意请不要在水2024.csp-s选手答案了~~
快去刷题(如果你也不想如此凄惨的话.....);
*/
表白哥
/*
可惜了,打完了发现是假的。
已经高三了,没有AK还是挺遗憾的,但也不重要了。(前三题先开个香槟)
希望能努力考个好的大学吧,现在成绩还不咋行
这题名字幻视arc,回家打arc去了
表白保登心爱,岁纳京子,小馄饨,索菲等
不写了,被旁边人和监考员看到怪不好意思的。
——社恐人是这样的
*/
叹今夕哥
/*叹今夕兮,不知何为解也,亦不可纯谋而涂之也,悲也。今上述此阙,望上知晓,可否益思而衰难也?*/
夜莺哥
// hjx你是我心中的夜莺!愿长歌伴你歌唱!
祝你成功。
川大网安班哥
/*
it's my last time to join CSP.
my first CSP has been end with 40pts and 4= in 2021
and i can't get1= in 2022 & 2023. then i AFOed for
an year to now. now i'm in grade 11 and have not
do anything about OI for 10 months. but i think i
have been trying my best this time. i can get accep-
ted in T1 and T2 now, whick i can't image forever.
though i can only get 20 pts in T3 and 0 in T4, it's
my best CSP now and then.
if i can get 1=, i may go to Sichuan university with
CTF works. if not, i will completely AFO.
byebye, OI.
P.S. i am really bad in english
*/
wtcl 哥
/*
i can't even solve the point of n<100, wtcl
*/
stupid 哥
inline bool isped(int l,int r){
if(r<l) return false;//this happened, but i think it CAN'T
//the programm IS running, which is the only thing i want
return ps[r]-ps[l-1]>0;
}
/*
why do i succeed in example1245 but not in example3?
is this example a little bit duliu? it's 16:50 now.
if i can't solve example3 before 15:00, i can't care
of it because of time.
i succeed in solving example3 in 16:55, what a stupid
data of tot=0.
*/
T^T 哥
else cout<<rd();/*T^T*/
神秘仪式哥
/*
*******************
******YI*DENG******
*W***************D*
*C******CCF******C*
*X*****water*****L*
*******data********
*******rp++********
*******************
******kkksc03******
*******************
*zhe*ti*na*60*pts**
*******************
*/
小作文哥
/*
这是一篇小作文。
现在是18:16
预计本次CSP-S 1=分数线在200左右。说实话,今年的初中生真的有福了。
t1 t2相对于去年乃至前年都比较简单,初中生完全有可能拿全分
而我,已然高一。哎
I think its my time to AFO
环夜星速,逐日烬辉。
我是并非惊人的老人。
zjcack
*/
byd 哥
/*
byd让我调挺久
*/
记住答案哥
//ji zhu da an jia ru (ans) te shu zhi
音游人(感谢 @int08 的投稿)
//t+pazolite - QZkago Requiem
//siqlo - One Way Street
//Silentroom - Red and Blue
爷爷哥(@LinkCutTree)
cerr << "To My Dearest Son GZ: I'm always your grandfather! -- CYC" << endl;
结婚哥(@EarthMessenger)
#define marry return
...
marry 0;