前人
CE 之家
e恶人
int u=que.pop().second;python人
#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人
dis[e[i].v = e[i].w;取关人
while (n--; m--;)减减人
#include <bits/stdc+.h>加人
for (int )为了因特人
int n, m;
cin >> n >> m;
int a[n + 4];动态数组人
cin >> "0 2";读入样例人
long long c, t, a[1000000009], flag = 0;强大内存人
int w[500005], a[500005][500005], t[500005][500005], xr[500005], yr[500005];更强大内存人
int main() {
freopen("hub.in", "r", stdin);
freopen("hub.out", "w", stdout);
}武陵(无 0)人
#define int long long;分人
solve()丢分人
int棍母变量人
#include <iostream>
#define int long long
using namespace std;
int main()
{L(ong)L(ong)M(ain)人
for (int i = 1;i <= n;i++)中国人
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() {嵌套人
int INT_Min(Max <= Min);因特敏人
#define long long int倒反天罡人
for (int i = 0; i < n; i++) {
for (int j = i; j < n; j++) {
cout <<
}
}欲言又止人
int i ,san;
for(i==0,i<=m){
san++;
}san人
for(in i=1;i<=m;i++){in人
sqrt(a+1,a+n+1);开平方人
int ::四点人
cout << 42 << endl <<< 16;三个小于人
#define vi vecotr<ll>维考特人
memsert(head, 0, sizeof(head));妈妈色特人
#include<windows.h>Windows操作系统单推人
usign namespace std;油塞人
int a[500005], ans = 0, mtiaaxx = -1;mtiaaxx人
文件之家
// freopen("crystal.in","r",stdin);
// freopen("crystal.out","w",stdout);老生常谈人
//freopen("hub.in", "r", stdin);
//freopen("hub.out", "w", stdout);
cout << 0;
//fclose(stdin);
//fclose(stdout);随手关门人
freopen("subway.in", "r", stdin);
freopen("subway.out", "w", stdout);
cout << 1 << endl << 2;
fclose(stdin);
fclose(stdout);真·随手关门人
int main() {
freopen("hub.out", "w", stdout);只出不进人
freopen("crystal.in", "r", stdin);
//freopen("crystal.out", "w", stdout);只进不出人
freopen("migrate.out", "r", stdin);读出人
freopen("migrate4.in","r",stdin);大样例人
freopen("", "r", stdin);
freopen("", "w", stdout);虚空读入人
//freopen("aaa.in","r",stdin);
//freopen("aaa.out","w",stdout);aaa人
freopen("hub.ans", "w", stdout);输出盎司人
freopen("hub.out", "w,", stdout);逗人
signed main()
{
ios :: sync_with_stdio(0), cin.tie(0);
cin >> n >> m;快速读入棍母人
ifstream fin;
ofstream fout;
int main() {
fin.open("hub.in");
fout.open("hub.out");fstream人
freopen("hub", "r", stdin);
freopen("hub", "w", stdout);无后缀人
freopen(".in","r",stdin);
freopen(".out","r",stdout);无前缀人
freopen(".in",r,stdin);
freopen(".out",w,stdout);无引人
freopen("crystal.in,"r",stdin");
freopen("crystal.out,"w",stdout");少引人
freopen("ctystal.in", "r", stdin);
freopen("crystal.out", "w", stdout);科泰斯塔尔人
freopen("csubway.out","w",stdout);科赛百味人
freopen("subwap.out", "w", stdout);洒布瓦仆人
freopen("migrete.out","w",stdout);米格瑞特人
freopen("megrate.ans", "w", stdout);我炉条人
freopen("hub.in", "r", stdin);
freopen("hud.out", "w", stdout);哈德人
freopen("crestal.out","w",stdout);克雷斯桃人
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新文件人
注释之家
long long temp = 0;//临时存储,用来存储所要的能量好和m比对(哦不不不不不,这个temp无疑是好用的)
long long bl;//大板栗
long long hc;//大红肠老牧师人
//这道题的特殊样例无疑是有用的
//拼尽全力无法战胜有用人
/*
昨日一去不复回
哦耶耶
开心 比什么都贵
覆水 不能再收回
哦耶耶
桃花 谢了有玫瑰
人生几十年总会有风雨来陪
潇潇洒洒赴会 今不醉不贵
往事后不后悔慢慢去理会
此刻朋友这杯酒最珍贵!!!
快把酒满上干了这杯放声歌唱
好朋友!好朋友!今宵多欢唱!
理想改变了我们的模样也让我懂得了要珍惜朋友的肩膀!
阳光总会在风雨之后洒向苍茫
让我们!抬起头!学会了坚强!
就像朋友的这杯烈酒伴我心上温暖我凡事哦别再放心上!
*/通透人
//朝老师别看了写的是错的已经力竭了不想再写了这是我的极限了---2026.10.31 16:40:43
//tmd一个mmin2的重置要了我快一个小时才发现 力竭了T_T 这60行估计还只能过样例,自己编的样例tm一个也过不了wcl我不学了
//感觉自己啥也不会呢说是 还是没好好学
//先睡了今晚要熬夜打游戏^_^---2026.10.31 16:44:27给木人
//long year OI is gunmu
//no opening long long meet grandpa's grandpa
//为啥一直不过最后一个大样例啊?
//加油!
//我们绝不投降!
//
//我真的燃尽了。
//kards ID:鼠鼠军团#2949
//luogu:turing_wanba卡兹人
//oh,shift
//话说有没有人告诉我(本人初二)学OI快两年连s组第一题都写不出来算不算区该不该退役
//freopen
//freeopen
//明年再战区人
// 第一题还好说,瞎写写就写出来了
// 我看这二三四题,谁拉这了?
// 又臭又长这谁绷得住
// 比上午的J组还那啥
// 好了好了不跟你们开玩笑了
// S组第一区要开始发力了
// ……睡了20分钟,睡不着了
// 起来看了看这个教室里的人
// 没几个好好做的
// 甚至有人没写出来第一题
// 那还说啥了我要写第二题了
// 迎接你们的王吧!
// ……迎接你们的王八
// 这题我不会
// 我要使用暴力了
// ……我真不会
// S组大人我错了我不来碰瓷你了
// 我只是一个第一次打提高的入
// 后三题你们在干什么!!?
// (怒)
// ……
// 没事干我就写会小记记
// 骗你的是大记记
// 后三超级区人
// //freopen
// 什么叫输入 c 表示测试点编号
// 什么叫若 c=0 则这个点是样例
// 谢谢CCF喵 CCF我爱你喵
// 可惜我应该是用不上喵
// 这个题就是难看懂喵
// 应该是把图建对然后直接dijskra喵
// 不过我忘记djiskra怎么写了喵
// 只记得思路喵
// 试试喵
// 15:37
// ----------
// 样例一手画出来了
// 试试建图
// 没有负权应该就是dijskra
// 我也只会写到dij别的不会了
// 欸
// “输入的第一行包含五个非负整数c, n, m, d, q,”
// c, n, m, d ?喵人
// 洛谷关注 Sparse_Table uid = 1046508 谢谢喵
// I love Luotianyi forever.洛天依单推人
// jiushijiushihenkaixin wuwuwuwu wo ganjuewo keyiqifeil wo de t1t2sihudouzuochulail erqieshijianfuzadumeiyouwenti wozhendeaisinil OI cspjinianchudetizhende haokeai
// xiaomaoerai xiaogoukeai shenmedongxidoukeai muamuamuaqingsinimen xixiqifei人
// 注释打开头防止没写星杠
// F1:想到二分答案:第一种,二分水晶颗数,不好做,第二种二分每颗能量不好做
// 能不能证明每颗经操作后的小水晶一定等于原先一颗的大小呢,应该可以,因为只加不减
// 例如样例1,反正大概就是因为不选原先大小没优势,那么我们有一个n方的做法,显然太大了
// 还是用二分搜大小吧,那么就可以先排序,lr遍历坐标,找到一个后,由这个坐标回头减,看有几个相等的
// F2 刚刚发现一个问题,在算定o后我不知道lr往那边去取,及时止损不写了写二分单个长度去
// 我已绝望,大体正确,样例12随便过,样例34各输出少了11和35,到底是为啥
// 找到原因了,我是sbsb人
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六七人(本人)
// ___ ___ _____ | / _____ ____
// | | | | | |/ |
// | --- | | | |\ |
// | | | | | | \ |
// --- | ----- _____ | \ _____法人
// 差寒挥锋安盛世
// 救苦度厄济苍生
// 影中故我无暇,落灯花
// 孑然立,难逃命煞
// 明月映赤霞,大浪淘沙,人生本如画
// 何如是,望云涯,四海无家
// 昨日希望种下,护城厦
// 箭在弦,蓄势待发
// 功业仍未罢,一瞬光华,血仇心中扎
// 诸般业,尽笑纳,血月正恰诗人
// 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 坏经验人
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 人
int c, n, m, d, q, w[100005]; //懒得写了不会骗分我tm题也看不懂懒人
//卡特殊性质,令人忍俊不禁忍俊不禁人
// 今年我什么都不求,我只求s难度严格单调递增
// 有分就行,暴力打满
// Chinese Can Fly梦想成真人
cout << "1\n2";//Please make people can do 的 problempeople人
//cout << "遗弃!" << endl;遗弃人
//完了qwq完人
//Oct31==Dec25?密码人
//What?何人
//啊,太难了。要求不高,5分就行。。。志向极低人
//AKCSP-S志向远大人
//ding yue tong AK CSp s 2026,能过一等志向同样远大人
码之家
if (y == 2) {
cout << "1\n2";
} else {
cout << "iakioi";
}志向更远大人
#define I using
#define AK namespace
#define IOI std
I AK IOI;志向同样更远大人
#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 人
#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::人
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];
// }// dijk(s);
// cout << dis[e] + w[s] + w[e] << "\n";
// }
if (n == 2 && m == 5)
cout << "32\n17";没调过人
#include <bits/stdc++.h>
using namespace std;
int main() {
freopen("subway.in", "r", stdin);
freopen("subway.out", "w", stdout);
return 0;
}棍母人
#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;愚公人
#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人
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;功亏一篑人
int l = 1, r = n;
int ans = 1;
// while (l <= r) {
//int mid = (1 + r) >> l;
//if (check(mid))
//}中道崩殂人
freopen("hub.in","r",stdin);
freopen("hub.out","w",stdout);
cout<<1<<2;12人
const int N = 16 + 10;
int h[N];26人
freopen("hub.in", "r", stdin);
freopen("hub.out", "w", stdout);
cout << "Hello";你好人
freopen("hub.in", "r", stdin);
freopen("hub.out", "w", stdout);
cout << "Hello world";你好世界人
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人
if(m==0)
cout<<0;
return 0;
cout<<n-1;
return 0;非礼勿言人
while (true)
int a;A人
freopen("crystal.in","r",stdin);
freopen("crystal.out","w",stdout);
cin>>n>>m;
for(int i=1;i<=m;i++) cin>>a[i];M人
#define please return
#define AC 0请人
cin >> n;
cout << n++;加加人
int shuzi[500005];数字人
int jueduizhi(int x) {
if (x >= 0) {
return x;
} else {
return x - (x * 2);
}
}绝对值人
namespace Sub1 {内姆斯贝斯人
int main() {
freopen("hub.in", "r", stdin);
freopen("hub.out", "w", stdout);
cout << "我不会";不会人
菜之家
//I'm too vegetable.蔬菜人