跳到正文

休闲·娱乐

CSP-S2026 山 西 迷 惑 行 为 大 赏

veryCoolUsername约 25 分钟
原文
文章信息与版本

文章信息

发布
2026年11月7日
收录
2026年11月7日
更新
2026年11月8日
篇幅
约 25 分钟
获赞
1

版本

  1. v1当前

前人

CE 之家

C++
e

恶人

C++
int u=que.pop().second;

python人

C++
#include <bits/stdc++.h>
using namespace std;
freopen("migrate", "w", stdin)
freopen("migrate", "r", stdout)
cin >> c, t, n, N, d, x;
if (int c >= 0, c <= 25)
    cout << 1, 2;
else
    cout << 0, 1;
return 0;

真·python人

C++
dis[e[i].v = e[i].w;

取关人

C++
while (n--; m--;)

减减人

C++
#include <bits/stdc+.h>

加人

C++
for (int )

为了因特人

C++
int n, m;
cin >> n >> m;
int a[n + 4];

动态数组人

C++
cin >> "0 2";

读入样例人

C++
long long c, t, a[1000000009], flag = 0;

强大内存人

C++
int w[500005], a[500005][500005], t[500005][500005], xr[500005], yr[500005];

更强大内存人

C++
int main() {
    freopen("hub.in", "r", stdin);
    freopen("hub.out", "w", stdout);
}

武陵(无 0)人

C++
#define int long long;

分人

C++
solve()

丢分人

C++
int

棍母变量人

C++
#include <iostream>
#define int long long
using namespace std;
int main()
{

L(ong)L(ong)M(ain)人

C++
for (int i = 1;i <= n;i++)

中国人

C++
inline void solve() {
    cin >> n;
    for (int i = 1;i <= n;i++)
    {
        for (int i = 1; i <= n; i++)
        {
            for (int j = 1; j <= n; j++)
            {

            }
        }
    }
    signed main() {

嵌套人

C++
int INT_Min(Max <= Min);

因特敏人

C++
#define long long int

倒反天罡人

C++
for (int i = 0; i < n; i++) {
	for (int j = i; j < n; j++) {
		cout <<
	}
}

欲言又止人

C++
int i ,san;
for(i==0,i<=m){
	san++;
}

san人

C++
for(in i=1;i<=m;i++){

in人

C++
sqrt(a+1,a+n+1);

开平方人

C++
int ::

四点人

C++
cout << 42 << endl <<< 16;

三个小于人

C++
#define vi vecotr<ll>

维考特人

C++
memsert(head, 0, sizeof(head));

妈妈色特人

C++
#include<windows.h>

Windows操作系统单推人

C++
usign namespace std;

油塞人

C++
int a[500005], ans = 0, mtiaaxx = -1;

mtiaaxx人

文件之家

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

老生常谈人

C++
//freopen("hub.in", "r", stdin);
//freopen("hub.out", "w", stdout);
cout << 0;
//fclose(stdin);
//fclose(stdout);

随手关门人

C++
freopen("subway.in", "r", stdin);
freopen("subway.out", "w", stdout);
cout << 1 << endl << 2;
fclose(stdin);
fclose(stdout);

真·随手关门人

C++
int main() {
	freopen("hub.out", "w", stdout);

只出不进人

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

只进不出人

C++
freopen("migrate.out", "r", stdin);

读出人

C++
freopen("migrate4.in","r",stdin);

大样例人

C++
freopen("", "r", stdin);
freopen("", "w", stdout);

虚空读入人

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

aaa人

C++
freopen("hub.ans", "w", stdout);

输出盎司人

C++
freopen("hub.out", "w,", stdout);

逗人

C++
signed main()
{
    ios :: sync_with_stdio(0), cin.tie(0);
    cin >> n >> m;

快速读入棍母人

C++
ifstream fin;
ofstream fout;

int main() {
	fin.open("hub.in");
	fout.open("hub.out");

fstream人

C++
freopen("hub", "r", stdin);
freopen("hub", "w", stdout);

无后缀人

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

无前缀人

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

无引人

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

少引人

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

科泰斯塔尔人

C++
    freopen("csubway.out","w",stdout);

科赛百味人

C++
freopen("subwap.out", "w", stdout);

洒布瓦仆人

C++
freopen("migrete.out","w",stdout);

米格瑞特人

C++
freopen("megrate.ans", "w", stdout);

我炉条人

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

哈德人

C++
freopen("crestal.out","w",stdout);

克雷斯桃人

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

科特斯托人

代码
/SX-S?????/cytstal/crystal.cpp

赛特斯托人

代码
/SX-S?????/crystal.cpp

直入主题人

代码
└─subway
        migrate.cpp
        subway.cpp
        suway.cpp

素伪人

代码
├─crystal
│      crystal.cpp
│      新文件1.cpp
│
├─hub
│      hub.cpp
│      新文件4.cpp
│
├─migrate
│      migrate.cpp
│      新文件5.cpp
│
└─subway
       subway.cpp
       新文件3.cpp

新文件人

注释之家

C++
long long temp = 0;//临时存储,用来存储所要的能量好和m比对(哦不不不不不,这个temp无疑是好用的)
long long bl;//大板栗
long long hc;//大红肠

老牧师人

C++
//这道题的特殊样例无疑是有用的
//拼尽全力无法战胜

有用人

C++
/*
昨日一去不复回
哦耶耶
开心 比什么都贵
覆水 不能再收回
哦耶耶
桃花 谢了有玫瑰
人生几十年总会有风雨来陪
潇潇洒洒赴会 今不醉不贵
往事后不后悔慢慢去理会
此刻朋友这杯酒最珍贵!!!
快把酒满上干了这杯放声歌唱
好朋友!好朋友!今宵多欢唱!
理想改变了我们的模样也让我懂得了要珍惜朋友的肩膀!
阳光总会在风雨之后洒向苍茫
让我们!抬起头!学会了坚强!
就像朋友的这杯烈酒伴我心上温暖我凡事哦别再放心上!
*/

通透人

C++
//朝老师别看了写的是错的已经力竭了不想再写了这是我的极限了---2026.10.31 16:40:43
//tmd一个mmin2的重置要了我快一个小时才发现  力竭了T_T  这60行估计还只能过样例,自己编的样例tm一个也过不了wcl我不学了
//感觉自己啥也不会呢说是  还是没好好学
//先睡了今晚要熬夜打游戏^_^---2026.10.31 16:44:27

给木人

C++
//long year OI is gunmu
//no opening long long meet grandpa's grandpa 
//为啥一直不过最后一个大样例啊?
//加油!
//我们绝不投降!
//
//我真的燃尽了。
//kards ID:鼠鼠军团#2949
//luogu:turing_wanba

卡兹人

C++
//oh,shift
//话说有没有人告诉我(本人初二)学OI快两年连s组第一题都写不出来算不算区该不该退役
//freopen
//freeopen
//明年再战

区人

C++
// 第一题还好说,瞎写写就写出来了
// 我看这二三四题,谁拉这了?
// 又臭又长这谁绷得住
// 比上午的J组还那啥
// 好了好了不跟你们开玩笑了
// S组第一区要开始发力了
// ……睡了20分钟,睡不着了
// 起来看了看这个教室里的人
// 没几个好好做的
// 甚至有人没写出来第一题
// 那还说啥了我要写第二题了
// 迎接你们的王吧!
// ……迎接你们的王八
// 这题我不会
// 我要使用暴力了
// ……我真不会
// S组大人我错了我不来碰瓷你了
// 我只是一个第一次打提高的入
// 后三题你们在干什么!!?
// (怒)
// ……
// 没事干我就写会小记记
// 骗你的是大记记
// 后三

超级区人

C++
// //freopen
// 什么叫输入 c 表示测试点编号
// 什么叫若 c=0 则这个点是样例
// 谢谢CCF喵 CCF我爱你喵
// 可惜我应该是用不上喵
// 这个题就是难看懂喵
// 应该是把图建对然后直接dijskra喵
// 不过我忘记djiskra怎么写了喵
// 只记得思路喵
// 试试喵
// 15:37
// ----------
// 样例一手画出来了
// 试试建图
// 没有负权应该就是dijskra
// 我也只会写到dij别的不会了
// 欸
// “输入的第一行包含五个非负整数c, n, m, d, q,”
// c, n, m, d ?

喵人

C++
// 洛谷关注 Sparse_Table uid = 1046508 谢谢喵
// I love Luotianyi forever.

洛天依单推人

C++
// jiushijiushihenkaixin wuwuwuwu wo ganjuewo keyiqifeil  wo de t1t2sihudouzuochulail erqieshijianfuzadumeiyouwenti  wozhendeaisinil OI cspjinianchudetizhende haokeai
// xiaomaoerai xiaogoukeai shenmedongxidoukeai muamuamuaqingsinimen xixi

qifei人

C++
// 注释打开头防止没写星杠
// F1:想到二分答案:第一种,二分水晶颗数,不好做,第二种二分每颗能量不好做
// 能不能证明每颗经操作后的小水晶一定等于原先一颗的大小呢,应该可以,因为只加不减
// 例如样例1,反正大概就是因为不选原先大小没优势,那么我们有一个n方的做法,显然太大了
// 还是用二分搜大小吧,那么就可以先排序,lr遍历坐标,找到一个后,由这个坐标回头减,看有几个相等的
// F2 刚刚发现一个问题,在算定o后我不知道lr往那边去取,及时止损不写了写二分单个长度去
// 我已绝望,大体正确,样例12随便过,样例34各输出少了11和35,到底是为啥
// 找到原因了,我是sb

sb人

C++
freopen("hub.in","r",stdin);
freopen("hub.out","w",stdout);
int sixseven;
cin>>sixseven>>sixseven;
while(sixseven--) cout<<"1\n";
//6767676767676767676767676767676767676767676767676767676767676767
//6767676767676767676767676767676767676767676767676767676767676767
//6767676767676767676767676767676767676767676767676767676767676767
//6767676767676767676767676767676767676767676767676767676767676767
//6767676767676767676767676767676767676767676767676767676767676767
//6767676767676767676767676767676767676767676767676767676767676767
//6767676767676767676767676767676767676767676767676767676767676767

六七人(本人)

C++
//  ___  ___          _____  |  /     _____  ____
//   |   |     |   |  |      |/       |
//   |   ---   |   |  |      |\       |
//   |   |     |   |  |      | \      |
//  ---  |     -----  _____  |  \     _____

法人

C++
// 差寒挥锋安盛世
// 救苦度厄济苍生
// 影中故我无暇,落灯花
// 孑然立,难逃命煞
// 明月映赤霞,大浪淘沙,人生本如画
// 何如是,望云涯,四海无家
// 昨日希望种下,护城厦
// 箭在弦,蓄势待发
// 功业仍未罢,一瞬光华,血仇心中扎
// 诸般业,尽笑纳,血月正恰

诗人

C++
// 14:54 give up T1's right solution, go and see T2
// 15:39 T2 #1~#8 AC, T1 0%->0+32+0+0=32
// 16:06 T1 0%, go and see T3(0%), T4;
// 16:56 T4 #1~#3 AC->0+32+0+15=47
// 17:05 T1 #1~#2 AC->10+32+0+15=57
// 18:08 T1 A AC->25+32+0+15=72
// 18:12 T1 B AC->40+32+0+15=87
// 18:18 give up, it's a so bad experience, why I can't deal with 

坏经验人

C++
sort(a+1,a+n+1);//make them You3 Xu4 De5(I don't know its English)
for(int i=1;i<=n;i++)
{
	s[i]=s[i-1]+a[i];//Qian2 Zhui4 He2(I don't know its English)

Ying1 Yu3 Bu4 Hao3 人

C++
int c, n, m, d, q, w[100005]; //懒得写了不会骗分我tm题也看不懂

懒人

C++
//卡特殊性质,令人忍俊不禁

忍俊不禁人

C++
// 今年我什么都不求,我只求s难度严格单调递增
// 有分就行,暴力打满
// Chinese Can Fly

梦想成真人

C++
cout << "1\n2";//Please make people can do 的 problem

people人

C++
//cout << "遗弃!" << endl;

遗弃人

C++
//完了qwq

完人

C++
//Oct31==Dec25?

密码人

C++
//What?

何人

C++
//啊,太难了。要求不高,5分就行。。。

志向极低人

C++
//AKCSP-S

志向远大人

C++
//ding yue tong AK CSp s 2026,能过一等

志向同样远大人

码之家

C++
if (y == 2) {
	cout << "1\n2";
} else {
	cout << "iakioi";
}

志向更远大人

C++
#define I using
#define AK namespace
#define IOI std
I AK IOI;

志向同样更远大人

C++
#include <bits/stdc++.h>
using namespace std;
int main() {
    freopen("hub.in", "r", stdin);
    freopen("hub.out", "w", stdout);
    int n;
    cin >> n >> n;
    while (n--) {
        cout << rand() % 2 + 1 << endl;
    }
    return 0;
}

rand 不 srand 人

C++
#include <bits/stdc++.h>
int main() {
	freopen("crystal.in", "r", stdin);
	freopen("crystal.out", "w", stdout);

	long long n, m;
	std::cin >> n >> m;

std::人

C++
signed main() {
	freopen("subway.in", "r", stdin);
	freopen("subway.out", "w", stdout);
//	cin >> c >> n >> m >> d >> q;
//	for (int i = 1; i <= m; i++) {
//		cin >> w[i];
//	}
C++
//		dijk(s);
//		cout << dis[e] + w[s] + w[e] << "\n";
//	}
	if (n == 2 && m == 5)
		cout << "32\n17";

没调过人

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

    return 0;
}

棍母人

C++
#include<bits/stdc++.h>
using namespace std;
int main(){
    freopen("subway.in","r",stdin);
    freopen("subway.out","w",stdout);
    int a,b;
    cin>>a>>b;
    if(b==2){
        cout<<32<<endl<<17<<endl;
    }
    else if(b==3){
        cout<<35<<endl<<16<<endl;
    }else{
        cout<<341<<endl;
        cout<<667<<endl;
        cout<<1255<<endl;
        cout<<775<<endl;
        cout<<558<<endl;
        cout<<863<<endl;
        cout<<540<<endl;
        cout<<250<<endl;
        cout<<1088<<endl;
        cout<<1225<<endl;
        cout<<1257<<endl;

愚公人

C++
#include <bits/stdc++.h>
using namespace std;
long long a, b;

int main() {
	freopen("subway.in", "r", stdin);
	freopen("subway.out", "w", stdout);
	cin >> a >> b;
	if (b == 2)
		cout << 32 << '\n' << 17;
	if (b == 3)
		cout << 35 << '\n' << 16;
	if (b == 15)
		cout << 341 << '\n' << 667 << '\n' << 1255 << '\n' << 775 << '\n' << 558 << '\n' << 863 << '\n' << 540 << '\n' << 250 <<
		     '\n' << 1088 << '\n' << 1225 << '\n' << 1257 << '\n' << 360 << '\n' << 758 << '\n' << 703 << '\n' << 474 << '\n' << 357
		     << '\n' << 791 << '\n' << 780 << '\n' << 1015 << '\n' << 222 << '\n' << 212 << '\n' << 458 << '\n' << 570 << '\n' <<

愚公2.0人

C++
if (c == 0) {
	cin >> n >> d;
	if (n == 5 && d == 3) {
		cout << 0 << "\n" << 1;
	} else if (n == 4 && d == 2) {
		cout << 1 << "\n" << 2;
	} else if (n == 197 && d == 29418319589926278) {
		cout << 8129 << "\n" << 16 << "\n" << 9 << "\n" << 7 << "\n" << 12 << "\n" << 0 << "\n" << 0 << "\n" << 0 << "\n" << 2;
		cout << "\n" << 1 << "\n" << 0 << "\n" << 2 << "\n" << 3 << "\n" << 6 << "\n" << 0 << "\n" << 2 << "\n" << 0;

功亏一篑人

C++
int l = 1, r = n;
int ans = 1;
//	while (l <= r) {
//int mid = (1 + r) >> l;
//if (check(mid))
//}

中道崩殂人

C++
    freopen("hub.in","r",stdin);
    freopen("hub.out","w",stdout);
    cout<<1<<2;

12人

C++
const int N = 16 + 10;
int h[N];

26人

C++
freopen("hub.in", "r", stdin);
freopen("hub.out", "w", stdout);
cout << "Hello";

你好人

C++
freopen("hub.in", "r", stdin);
freopen("hub.out", "w", stdout);
cout << "Hello world";

你好世界人

C++
int main() {
	freopen("subway.in", "r", stdin);
	freopen("subway.out", "w", stdout);
	int n, m;
	cin >> n >> m;
	cout << n + m;
	return 0;
}

A+B人

C++
if(m==0)
	cout<<0;
	return 0;
cout<<n-1;
return 0;

非礼勿言人

C++
while (true)
	int a;

A人

C++
    freopen("crystal.in","r",stdin);
    freopen("crystal.out","w",stdout);
    cin>>n>>m;
    for(int i=1;i<=m;i++) cin>>a[i];

M人

C++
#define please return
#define AC 0

请人

C++
cin >> n;
cout << n++;

加加人

C++
int shuzi[500005];

数字人

C++
int jueduizhi(int x) {
	if (x >= 0) {
		return x;
	} else {
		return x - (x * 2);
	}
}

绝对值人

C++
namespace Sub1 {

内姆斯贝斯人

C++
int main() {
	freopen("hub.in", "r", stdin);
	freopen("hub.out", "w", stdout);
	cout << "我不会";

不会人

菜之家

C++
//I'm too vegetable.

蔬菜人

原文