正文
增加 291 行删除 12 行
1234567891011127 行未改动2021222324252627282930313233343536373839404142439 行未改动535455565758596061626364579 行未改动全部展开644645646647648649650651652253 行未改动全部展开906907908909## Day 1### HE-123#### night`else cout<<"This is too hard meaw QAQ\n";````This is too difficult...I can only get [50,62] point...All in all,It hasn't been ended yet,isn't it(?We all have chances...7 行未改动### HE-122#### night`陈康肃公善射,俄而雪骤。 `hyw.### HE-121#### string`666被逼着来的,打省选居然是为了积累经验 luogu:1317007 `为什么被逼着来呢,让你吃到 shi 了?### HE-115#### recollector`Man! What can I say? Manba out.`#### string```It's been a long day9 行未改动### HE-114#### string`string q = "666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666"``if(q == "0101") cout << 0145145544114;`hyw.### HE-122579 行未改动全部展开//}```::::空白代码竟然能有字节,@Fine_Dust_Z 是开挂了吗?### HE-120#### starmap253 行未改动全部展开//Luogu UID:919748```上了。12345678910117 行未改动192021222324252627282930313233343536373839404142434445469 行未改动56575859606162636465666768579 行未改动全部展开648649650651652653654655656253 行未改动全部展开910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188## Day 1### HE-123#### night```else cout<<"This is too hard meaw QAQ\n";`......This is too difficult...I can only get [50,62] point...All in all,It hasn't been ended yet,isn't it(?We all have chances...7 行未改动### HE-122#### night```陈康肃公善射,俄而雪骤。```hyw.### HE-121#### string```666被逼着来的,打省选居然是为了积累经验 luogu:1317007```为什么被逼着来呢,让你吃到 shi 了?### HE-115#### recollector```Man! What can I say? Manba out.```#### string```It's been a long day9 行未改动### HE-114#### string```string q = "666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666"if(q == "0101") cout << 0145145544114;```hyw.### HE-122579 行未改动全部展开//}```::::空白代码竟然能有字节,[Fine_Dust_Z](/user/1317007) 是开挂了吗?### HE-120#### starmap253 行未改动全部展开//Luogu UID:919748```上了。### HE-033#### industry```#include <iostream>int main(){// ajdkfjjflsjl// 这我写集贸啊, 题都读不懂// 这Day2也是绝了, 俩交互, 除了T1暴力都不会// 已经测了1hT1了, 这垃圾下发交互库是真难用, 慢完了// 这T3这么长一个题面可咋做// 也不知道这个DEV编码是啥, 是GB爆了就老实了// ajdkfjjflsjlfreopen("industry.in", "r", stdin);freopen("industry.out", "w", stdout);for(int i = 0; i < 1145141919; i++){std::cerr<<"ajdkfjjflsjl";}// 事已至此, 吃个巧克力先// 我去, 考试延迟15min, 这不纯纯罚坐return 0;}```稳住心态,加油。#### perm```#include "perm.h"#include <iostream>using namespace std;// WTF!!!// sheng xuan kao jiao hu chu ti ren ni lao feng za ban// wo mei zuo guo jiao hu a!!!!!// why only 2 yang li!!! idk wo dui bu duiconstexpr int MN = 33333;vector<int> res;int kong[MN], ck;int qz[MN], hz[MN];// qian zhui, hou zhuiint N;inline int MyMin(int a, int b){return (a > b) ? b : a;}inline int Qu(int l, int r){// jia de query// suo yi ci shu xian zhi he yi weiif(l == 0 && r == N-1) return N;if(l == 0) return hz[r + 1];if(r == N - 1) return qz[l - 1];return MyMin(qz[l - 1], hz[r + 1]);}void init(int c, int t) {res.reserve(MN);return;}// grader.cpp chao ji man, 3e4 jiu T lestd::vector<int> perm(int n) {// why return vector ????// I know gunmu of vector// cerr << "A";N = n;res.clear();for(int i = 0; i < n; i++){res.push_back(0);qz[i] = hz[i] = 0;}int p0 = 0;// hai hao shi pai liefor(int i = n - 1; i; i--){int k = query(0, i - 1);if(k == 0){p0 = i;break;}hz[i] = k;}for(int i = 0; i < p0; i++){qz[i] = query(i + 1, n - 1);}// return res;int l, r;l = r = p0;int mx = 1;ck = 0;int k;while(1){k = Qu(0, r);if(k > mx){l--;while(Qu(l, r) <= mx){kong[++ck] = l;l--;}res[l] = mx;k = Qu(l, r);for(int i = mx + 1; i < k; i++){res[kong[ck]] = i;ck--;}mx = k;}else{r++;while(Qu(l, r) <= mx){kong[++ck] = r;r++;}res[r] = mx;k = Qu(l, r);for(int i = mx + 1; i < k; i++){res[kong[ck]] = i;ck--;}mx = k;}if(mx == n) break;}// cerr << "B";return res;}```sheng xuan kao jiao hu chu ti ren ni lao feng za ban!!!### HE-031#### perm```/*哎呀怎么今年省选考交互??!我从来没写过交互题欸………其实我什么东西都不会用。。。输了………*///考完就跳海(bushi。//模拟赛我看到交互都直接跳的,结果直接回旋镖了wuwuwu………///*//怎么办啊怎么办啊怎么办啊怎么办啊怎么办啊怎么办啊//怎么办啊怎么办啊怎么办啊怎么办啊怎么办啊怎么办啊//怎么办啊怎么办啊怎么办啊怎么办啊怎么办啊怎么办啊//怎么办啊怎么办啊怎么办啊怎么办啊怎么办啊怎么办啊//怎么办啊怎么办啊怎么办啊怎么办啊怎么办啊怎么办啊//怎么办啊怎么办啊怎么办啊怎么办啊怎么办啊怎么办啊//怎么办啊怎么办啊怎么办啊怎么办啊怎么办啊怎么办啊//怎么办啊怎么办啊怎么办啊怎么办啊怎么办啊怎么办啊//怎么办啊怎么办啊怎么办啊怎么办啊怎么办啊怎么办啊//怎么办啊怎么办啊怎么办啊怎么办啊怎么办啊怎么办啊//怎么办啊怎么办啊怎么办啊怎么办啊怎么办啊怎么办啊//怎么办啊怎么办啊怎么办啊怎么办啊怎么办啊怎么办啊//怎么办啊怎么办啊怎么办啊怎么办啊怎么办啊怎么办啊///*```我也气笑了,$2$ 个交互,跳了。#### starmap```//欸您猜怎么着我昨天晚上梦见T3是交互结果梦是反的。//呵…梦是反的………//梦是反的啊!(超大声。//气笑了。//先别笑,我Day-1的时候梦见我Day2爆蛋了。```希望梦是反的。### HE-023#### perm```#include<bits/stdc++.h>#include "perm.h"using namespace std;int c,t;int n;vector<int> v;void init(int c,int t){return;}vector<int> p(int n){vector<int> x;for(int i=0;i<n;i++) x.push_back(i);return x;}int main(){freopen("perm.in","r",stdin);freopen("perm.out","w",stdout);ios::sync_with_stdio(0);cin.tie(0);cout.tie(0);cin>>c>>t;init(c,t);while(t--){cin>>n;for(int i=1;i<=n;i++){int x;cin>>x;v.push_back(x);}}return 0;}```hyw.### HE-017#### starmap```//ok```ok,代码只有ok.### HE-010#### starmap```mt19937 rnd('六');```六。-------好了,迷惑行为到这里就完了,看来省选都是为了进队来的,神人没有 CSP,NOIP 多,希望你们看得开心。