CSP-S 2023 SD 赛区迷惑行为大赏
cancan123456 · · 个人记录
首先让我们观察一下代码文件夹的大小:
好的非常不错啊。
文件统计
本次 CSP-S 共有
T1 lock 共有
T2 game 共有
T3 struct 共有
T4 tree 共有
超过 10KB 的代码除去四个大样例外就是 SD-S00628 的 lock,恭喜这位选手在此题取得了
AC 率
T1 lock 共
T2 game 共
T3 struct 共
T4 tree 共
总平均分
重量级选手:SD-S00184
大家就看代码就行了。
SD-S00184\lock\lock.cpp
#include <bits/stdc++.h>
#string longlong
using namespace std;
int n,a[10][10];
cin<<n;
int main(){
fireopean("lock.in","r",stdin);
fireopean("lock.out","w",stdin);
scanf("%11d"%11);
for(int i=1;i<=n;i++){
for(int j=1;j<=5;j++)
}
if(n == 1){
puts("81");
return 0;
}
if(n == 2){
int cnt == 0;
for(int i=1;i<=5;i++){
for(int j=1;j<=n;j++)
if(a[1][1]){
}
}
}
return 0;
}
SD-S00184\game\game.cpp
#include <bits/stdc++.h>
using namespace std;
int N;
int check(int s);
int main{
fireopean("game.in","r",stdin);
fireopean("game.out","w",stdin);
for(int i=1;i<=1;i++){
for(int j=1;j<=i;j++){
if(int i=1;i<=j;i++){
if(int j=1;j<=1;j++){
else return 0;
}
}
}
}
for(int i=2;i<=2;i++){
for(int j=2;j<=i;j++){
if(int i=2;i<=j;i++){
if(int j=2;j<=2;j++){
else return 0;
}
}
}
}
if(int N=1;N==i;N++){
else return 0;
}
return 0;
}
SD-S00184\struck\struck.cpp
#include<bits/stdc++.h>
using namespace std;
int main(){
fireopean("struck.in","r",stdin);
fireopean("struck.out","w",stdin);
}
SD-S00184\tree\tree.cpp
#include<bits/stdc++.h>
using namespace std;
int n,m;
int long long m[1001]
int main(){
fireopean("tree.in","r",stdin);
fireopean("tree.out","w",stdin);
for(int i=1;i<=n;i++){
for(int j=1;j<=i;j++)
if(n=1;n<=i;n++){
if(int i=1;i<=j;i++)
}
}
}
重量级选手二:SD-S00161
SD-S00161\lock\lock.cpp
#include<bits/stdc++.h>
using namespace std;
intmain(){
freopen("lockin","r",stdin);
freopen("lockout","w"stdout);
int a;
scanf("%d",&a/n);
int b;
b=0;
int c;
int d:
while(b!=a){
b++;
printf(b/n);
scanf("%d",&c/n);
};
if (a=1){printf(81);};
if(a!=1){d=36*a;printf(d);};
return 0
}
SD-S00161\game\game.cpp
#include<bits/stdc++.h>
using namespace std;
intmain(){
freopen("gamein","r",stdin);
freopen("gameout","w"stdout);
float a;
int b;
int c;
scanf("%d",b/n);
scanf("%d",a/n);
c=(b/2)*a;
pintf(c);
return 0
}
SD-S00161\struct\struct.cpp
#include<bits/stdc++.h>
using namespace std;
intmain(){
freopen("structin","r",stdin);
freopen("structout","w"stdout);
return 0
}
SD-S00161\tree\tree.cpp
#include<bits/stdc++.h>
using namespace std;
intmain(){
freopen("treein","r",stdin);
freopen("treeout","w"stdout);
int a;
int b;
int c;
int d;
int n;
int e;
int f;
int g;
int h;
int e;
h=1;
scanf("%d",&n/n);
while(h<n+1){
scanf("%d",&a);
scanf("%d",&b);
scanf("%d",&c/n);
scanf("%d",&d);
scanf("%d",&e/n);
h++;
};
printf(g=1+b+n*(a/c));
return 0
}
重量级选手三:SD-S00168
SD-S00168\lock\lock.cpp
#include<bits/stdc++.h>
using namespace std;
int main()
{
int n,a,b,c,d,e,t;
cin>>n;
//shuru
for (int i=1;i<=n;i++)
{
cin>>a>>b>>c>>d>>e;
t=5*9+(5-n)*9;
}
//chuli
cout<<t;
//shuchu
return 0;
}
SD-S00168\game\game.cpp
#include<bits/stdc++.h>
using namespace std;
freopen ("game.in"."r".stdin)
int main()
{
int n,t;
int a[200];
cin>>n>>a[n];
for (int i=1;i<=n;i++)
{ if(a[1]=a[2])
{
i+=t;
}
}
cout<<t;
freopen ("game.out"."w".stdin)
fclose ("game.in"."r".stdin)
fclose ("game.out"."w".stdout)
return 0;
}
SD-S00168\struct\struct.cpp
#include<bits/stdc++.h>
using namespace std;
freopen("struct.in"."r".stdin);
freopen("struct.out"."w".stdin);
int main()
{
long addr,t[200],n[200],op,k,ti[200],ni[200],s[200];
if(op=1)
{ cin>>s[200]>>k;
for(int i=1;i<=k;i++)
cin>>ti[200]>>ni[200];
}
if(op=2)
cin>>t[200]>>n[200];
if (op=3)
cin>>s[200];
if (op=4)
cin>>addr;
struct d{
short a;
int b;
short c;
};
d e;
fclose("struct.in"."r".stdin);
fclose("struct.out"."w".stdout);
return 0;
}
SD-S00168\tree\tree.cpp
#include<bits/stdc++.h>
using namespace std;
int main()
{
freopen("tree.in"."r".stdin)
freopen("tree.out"."w".stdin)
int n;
cin>>n;
for (i=1;i<=n;i++)
cin>>ai>>bi>>ci;
fclose("tree.in"."r".stdin)
fclose("tree.out"."w".stdout)
return 0;
}
出这个错误的还有 SD-S00336(下面是 SD-S00336 tree 代码节选):
int n,ai,bi,ci,ui,vi,d=0,t,z=1;
cin>>n;
for(int i=0;i<n;i++)
{
cin>>ai>>bi>>ci;
SD-S00339 struct 代码:
#include<bits/stdc++.h>
using namespace std;
long long n,op,e;
int main()
{
//freopen("struct.in","r",stdin);
//freopen("struct.out","w",stdout);
cin>>n>>op;
int k,ni,ti;
char s1;
cin>>ti,ni;
if(op==1){
cout<<e;
}
int t,n;
cin>>t>>n;
if(op==2){
cout<<e;
}
int s;
cin>>s;
if(op==3){
cout<<e;
}
int m,addr;
cin>>m;
if(op==4){
cout<<addr;
}
return 0;
}
SD-S00339 tree 代码节选:
for(int i=n;i<=m;i++){
int a[i];
cin>>a[i];
ans+=a[i];
}
重量级选手四:SD-S00190
SD-S00190\lock\lock.cpp
#include<iostream>
#include<cstdio>
using namespace std;
int main[] {
printf("lock.in","R",stdin);
printf("lock.out","r",stdin);
}
return 0;
SD-S00190\game\game.cpp
#include<iostream>
#include<cstdio>
using namespace std;
int main[] {
return 1
printf("lock.in","R",stdin);
printf("lock.out","r",stdin);
}
return 1
SD-S00190\struct\struct.cpp
return 1
SD-S00190\tree\tree.cpp
return 1
重量级选手五:SD-S00505
SD-S00505\lock\lock.cpp
include<iostream>
using namespace std;
int main()
SD-S00505\game\game.cpp
include <iostream>
using namespace std;
int main()
SD-S00505\struct\struct.cpp
include<iostream>
using namespace std;
int main()
SD-S00505\tree\tree.cpp
include<iostream>
using namespace std;
int main()
重量级选手六:SD-S00648
SD-S00648\lock\lock.cpp
#include<bits/stdc++.h>
using namesable std;
int main(){
return 0;
}
SD-S00648\game\game.cpp
#include <bits/stdc++.h>
usingnamespace std;
int main(){
}
SD-S00648\struct\struct.cpp
#include <bits/stdc++.h>
using namespace std;
int main(){
return 0;
}
SD-S00648\tree\tree.cpp
#inciude <bits/stdc++.h>
using namespace std;
int main(){
return 0;
}
SD-S00863 tree 文件夹下共包含这些文件:
rand3.cpp
rand3.exe
tree.cpp
tree.exe
tree1.ans
tree1.in
tree2.ans
tree2.in
tree3.ans
tree3.in
tree4.ans
tree4.in
拍子3.cpp
拍子3.exe
freopen 相关
//freopen 共在
无效 freopen
SD-S00106 lock 代码节选:
//freopen("
//freopen("
//freopen("
//freopen("
//freopen("
//freopen("
//freopen("
//freopen("
//freopen("
//freopen("
//干扰统计人
SD-S00128 tree 代码节选:
int main()
{
//freopen("tree.in","r",stdin);
//freopen("tree.out","w",stdout);
cout<<" Learning is a lifelong journal."<<endl;
cout<<" To my first and the last csp-s.";
return 0;
}
祝你好运。
SD-S00140 struct 代码节选:
//freopen("struct.in" , "w" , stdin);
呵呵,吊个鱼
这里提醒一下,正确的写法是“钓鱼”而非“吊鱼”。
SD-S00232 lock 使用文件指针与 fopen 而非 freopen。
SD-S00236 lock, game, struct 全部使用 ifstream / ostream 而非 frepen,且 tree 文件夹下无文件。
SD-S00190 lock, game 使用了 fstream。
SD-S00644, SD-S00806, SD-S00839, SD-S01107, SD-S01152 所有题目全部使用 ifstream / ofstream,其中 SD-S01107 所有输出文件名都写错了。
SD-S00453 使用了自己定义的 cin / cout,内部实现为快读快输。
SD-S00830 情况比较复杂:
lock 一题使用文件指针与 fopen。
game 一题使用文件指针与 fopen,又声明了没有用到的 ifstream / ofstream。
struct 一题没有代码。
tree 一题使用 ifstream / ofstream。
SD-S00320 game 代码节选:
//freopen("game.in","r",stdin);//老师好!
//freopen("game.out","w",stdout); //老师工作辛苦了!
freopen("game.in","r",stdin); //老师再见!
freopen("game.out","w",stdout);
SD-S00341 全部题目均使用了 fopen。
SD-S00947 tree 代码节选:
//freopen(被骗啦)
SD-S01070 tree 代码节选:
/*
It`s 16:50 now.
Not very late that enough for me to make violence with T3.
But I`ve already lost desiration to do that.
I do dislike playing with strings.
Not very late but...
Away From OI!!!
I didn`t major in OI for all the time,since junior 1 when I got touched with OI,or coding.
I just consider it as my hobby that I code just for fun,not for the prize.
The truth is so clear that since I got the first prize in noip2022,I hardly ever coding any more.
I have coding for a little more than four years and this year is the forth year participating in CSP.
wow That`s incredible that I have swum in the endless deep dark sea called OI for four years.
In junior 1,I couldn`t decide which culb to join,the math club or the computer coding club.
But both of the club asked that testing first before joining.
And the computer coding club`s testing came earlier and I passed it,so I joined it.
That`s why I got in touched with OI.
The first year I took part in OI was 2020 when I was junior 2.
In CSP-J 2020,I just got 130pts that only enough for the second prize.
In the second year I took part in CSP-S but I didn`t pass the paper test.How stupid I was.
The third year I took part in noip and I got the first prize.
During all my OI career,only the noip province one could be talked about.
But actually ,I didn`t spend any effort on OI,so the poor result servered me right.
Several years ago,I was so interested in computer that I wanted majored in computer science in the university.
But now I have changed my mind.
Taking part in CSP this year is just for joking.
Before the race,I have not do any coding for more than seven months!
I think that I have no talent in OI,and I am not hard-working.
I just play OI for fun.
All in all,if you do not take winning or losing so seriously,you will not lose.
JOKER never loses~~~
A man with wisdom don`t get wet in the love river.
That he have no spare time to put effort in his motherland`s developing.
It`s amazing that I have typed soooo much.
Perhaps I need some solutions to let my words be seen.
Why I want to do that stupid things? I don`t know :(
CCF
I LOVE YOU SO MUCH , CCF!!!
But I have no time to play interesting things with you CCF,because I liked to play with my dk.
And I like to play with van ahh deeep da~rk.
China
Computer
Foooooooooooooooooooooooooooo
errrr..?
int mian(){
retrun 0;
}
int mian(){
return -1;
}
#define mian main
#define long long int
#define itn int
//freopen("tree.in","r",stdin);
//freopen("tree.out","r",stdout);
freopen("trre.in","r",stdin);
freopen("look.in","r",stdin);
freopen("sama nia h.in","r",stdin);
freopen("strut.in","r",stdin);
freopen("strutc.in","r",stdin);
freopen("stuct.in","r",stdin);
freopen("strike.in","r",stdin);
oooooooooooo
#inclued
//include
#include<bits\stdc++.h>
#include<bits/stdc++.h>
\zqc/
usig namesapce std
olish
I really want to be your dog!!!CCF!!!
I really want you to be my dog!!!ZQC!!!
I love paly Genshin impact.Gayshit impart.
I want to be admitted in CGU.China Genshin University.
玩原神玩的
*/
祝你好运。
SD-S01110 struct 代码节选:
/*
考场游记
考完试会补充初赛部分和考前部分以及考后查分
14:12 进考场了,感觉很不错。
14:18 公开了压缩包密码,但没有公开PDF密码
14:20 写完缺省源
14:31 还没有公开PDF密码,都开考了
14:32 公开了
14:34 T1好像不会
14:36 好像输出(不可明说的数字)有30分
14:39 有点头绪
14:40 忽然发现O((不可明说的数字)^n)有50分
14:41 数据这么小想到?
14:46 ?是错的,但想到正解了!
14:52 好像假了
15:06 又会正解了
15:25 啊啊啊怎么才写了这么点,没事按着我的安排可以写到16:06
15:33 又假了
15:35 忽然发现把题想复杂了,又会了(
15:40 发现最快的做法只用大约20000次tick,但我懒得写,写了个1e6 tick的,反正能过
15:49 打完了,一切正常,样例全过,成功浪费大约一小时想非正解,二等奖稳了,可以去参加NOIP了!但是要跑500m+了,没事不算太累。
16:05 T4想到25pts特殊性质做法,正在保佑一等ing
16:20 T4 25pts假了/oh
16:25 T2想出一个25~35的做法,因为25是n<=10,35是n<=800,我是O(n^3) (大型尴尬现场)
16:45 打完了,一切正常,两个在范围内的样例已过。又想到了T4的25pts做法,而且跑不满。
17:06 T4打完了
17:10 自己造了几组数据没问题,摆烂! 但是很忧虑150~160是否一等。是的话有蓝勾但是要跑1000m(
17:22 小恐龙创最高纪录3177/hsh
17:25 本地T2 n=800 秒出结果,折磨牛?
17:33 由于T3一点暴力都不会,所以用T3装游记(。为了上迷惑行为大赏 ,在T3下面加 //freopen
给做迷惑行为大赏的人挂一下lg用户名:FeS2_qwq
总结:估分100+(25~35)+0+25=150~160 第一次估分上11^2,激动。
....... . . . ....... ....... ....... .......
. . . . . . . . . .
. . . . . . . . . .
. ..... . . . ....... ....... ....... .......
. . . . . . . . .
. . . . . . . . .
....... . . . . ....... ....... . .......
....... . . . ....... ....... .......
. . . . . . . . .
. . . . . . . . .
. ..... . . . . . .
. . . . . . . . .
. . . . . . . . .
....... . . . . ....... ....... .......
*/
//freopen
//freopen
//freopen
// 接下来是 198 个注释掉的 freopen
@FeS2_qwq,我看到你了。
SD-S00761 代码节选:
freopen("struct.in","r",stdin);
freopen("struct.out","w",stdout);
// freopen("struct.in","r",stdin);
// freopen("struct.out","w",stdout);
// ni ke neng bei pian le
SD-S00008 tree 代码节选:
freopen("tree.in","r".stdin);
freopen("tree.out","w",stdout);
SD-S00049 struct 代码节选:
freopen("struct in","r",stdin);
freopen("struct.out","w",stdout);
SD-S00114 struct 代码节选:
freopen("strcut.in","r",stdin);
freopen("struct.out","w",stdout);
这让我想起了 netbook。
SD-S00130 lock 代码节选:
freopen("lock.in","r",stdin);
freopen("lock.out","r",stdout);
...
for (int j=1;j<=5;j++)
{
=
SD-S00093 struct 代码节选:
pair<string, int> p[]
int n;
int h[], ne[], idx, w[];
string e[];
...
freopen("", "r", stdin);
freopen("", "w", stdout);
SD-S00130 lock 代码节选:
freopen("lock.in","r",stdin);
freopen("lock.out","r",stdout);
...
for (int j=1;j<=5;j++)
{
=
if (x<=45)
SD-S00144 tree 代码节选:
freopen("tree.in","r",stdin);
freopen("tree.out","out",stdout);
SD-S00169 tree 代码节选:
freopen("tree","r",stdin);
freopen("tree","w",stdout);
SD-S00663 struct 代码节选:
freopen("sturct.in","r",stdin);
freopen("struct.out","w",stdout);
SD-S00846 struct 代码节选:
freopen("struct2.in","r",stdin);
//freopen("struct1.out","w",stdout);
SD-S01168 lock, struct, game 全部代码节选:
freopen("<题目名>.in","w",stdin);
freopen("<题目名>.out","r",stdout);
game 代码节选:
freopen("game1.in","w",stdin);
freopen("game1.out","r",stdout);
趣闻:// freopen 共在
freopen 错误并因此丢分不完全统计
SD-S00092 所有代码节选:
freopen("<题目名>.in","r",stdin);
freopen("<题目名>.ans","w",stdout);
因此丢掉了
SD-S00144 lock 因为没写 freopen 而丢掉了
SD-S00169 tree 因为注释了 freopen 而丢掉了
SD-S00201 lock 因为注释了 freopen 而丢掉了
SD-S00217 四题都没写 freopen 并因此丢掉了
SD-S00250 全部代码节选:
freopen("<题目名>.in","w",stdin);
freopen("<题目名>.out","r",stdout);
并因此丢掉了
SD-S00296 全部代码节选:
freopen("<题目名>.in","w",stdin);
freopen("<题目名>.out","r",stdout);
并因此丢掉了 lock 骗分骗了
SD-S00314 lock, game 代码节选:
freopen("<题目名>.in","r",stdin);
freopen("<题目名>.ans","w",stdout);
并因此丢掉了
SD-S00336 lock 代码节选:
// freopen("lock.in","r",stdin) ;
// freopen("lock.out","w",stdout) ;
并因此丢掉了
SD-S00343 全部代码节选:
freopen("<题目名>.in","r",stdin);
freopen("<题目名>.ans","w",stdout);
并因此丢掉了
SD-S00372 game 代码节选:
freopen("game2.in","r",stdin);
freopen("game.out","w",stdout);
并因此丢掉了
SD-S00389 game 代码节选:
freopen("game.in","r",stdin);
freopen("game.in","w",stdout);
并因此丢掉了
SD-S00395 game 代码节选:
freopen("game1.in", "r", stdin);
freopen("game1.out", "w", stdout);
并因此丢掉了
SD-S00450 tree 因为没写 freopen 而丢掉了
SD-S00484 lock 代码节选:
freopen("game.in","r",stdin);
freopen("game.out","w",stdout);
SD-00484 game 代码节选:
freopen("lock.in","r",stdin);
freopen("lock.out","w",stdout);
并因此丢掉了
SD-S00514 game 因为注释了 freopen 而丢掉了
SD-S00539 struct 因为注释了 freopen 而丢掉了
SD-S00543 game 因为注释了 freopen 而丢掉了
SD-S00557 代码节选:
// lock.cpp
freopen("lock.in","r","stdin");
freopen("lock.out","w","stdout");
// game.cpp
//freopen("game.in","r","stdin");
//freopen("game.out","w","stdout");
// struct.cpp
freopen("struct.in","r","stdin");
freopen("struct.out","w","stdout");
// tree.cpp
freopen("tree.in","r","stdin");
freopen("tree.out","w","stdout");
因此而丢掉了
SD-S00561 代码节选:
// lock.cpp
freopen("lock1.in","r",stdin);
freopen("lock1.out","w",stdout);
// game.cpp
freopen("game1.in","r",stdin);
freopen("game1.out","w",stdout);
struct 没有 freopen,tree 没有代码。
因此丢掉了
SD-S00579 代码节选:
// lock.cpp
freopen("lock.in","r+");
freopen("lock.out","w+");
// game.cpp
freopen("game.in","r+");
freopen("game.out","w+");
因此丢掉了
SD-S00604 lock 代码节选:
int main()
{
freopen("lock.in","r",stdin)
// 代码主体部分,且有输出
freopen("lock.out","w",stdout)
return 0;
}
因此而丢掉了
SD-S00634 lock 代码节选:
void
int main()
{
//freopen("lock.in","r",stdin);
//freopen("lock.out","w",stdout);
int n,a[10][10],b[10][10][100];
cin>>n;
if(n==1){
cout<<81;
return;
}
...
if(p==1)cout<<10-ans[1];
if(p==2)cout<<
if(p>3)cout<<
}
并因此丢掉了至少
SD-S00634 game 代码节选:
freopen("game.in","r",stdin);
freopen("gane.out","w",stdout);
并因此丢掉了
SD-S00716 game 代码节选:
freopen("game.in","r",stdin);
freopen("game.ans","w",stdout);
并因此丢掉了
SD-S00725 game 代码节选:
freopen("lock.in","r",stdin);
freopen("lock.out","w",stdout);
并因此丢掉了
SD-S00735 game 代码节选:
void fileio(){
#ifdef LGS
freopen("in.txt","r",stdin);
freopen("out.txt","w",stdout);
#endif
}
...
// fileio();
// freopen("game.in","r",stdin);
// freopen("game.out","w",stdout);
并因此丢掉了
SD-S00782 全部代码节选:
freopen("<题目名>.in", "r", stdin);
freopen("<题目名>.ans", "w", stdout);
并因此丢掉了
SD-S00809 lock 代码节选:
freopen("lock.in","r",stdin)
freopen("lock.out","w",stdout)
并因此丢掉了
SD-S00836 lock 代码节选:
freopen("ad.in","r",stdin);
freopen("ad.out","w",stdout);
struct 代码节选:
freopen("stuct.in","r",stdin);
freopen("stuct.out","w",stdout);
并因此丢掉了
SD-S00902 全部代码节选:
// SD-S00902\lock\lock.cpp
freopen("lockin","r","stdin");
freopen("lockout","w","stdout");
// SD-S00902\game\game.cpp
freopen("gamein","r","stdin");
freopen("gameout","w","stdout");
// SD-S00902\struck\struck.cpp
freopen("struckin","r","stdin");
freopen("struckout","w","stdout");
// SD-S00902\tree\tree.cpp
freopen("treein","r","stdin");
freopen("treeout","w","stdout");
并因此丢掉了
SD-S00936 lock 因为注释了 freopen 而丢掉了
SD-S00955 lock 因为注释了 freopen 而丢掉了
SD-S00976 game 因为注释了 freopen 而丢掉了
SD-S01010 lock 因为注释了 freopen 而丢掉了
SD-S01020 全部代码节选:
freopen("D:\\SD-S01020邵俊豪\\<题目名>\\<题目名>.in","r",stdin);
freopen("D:\\SD-S01020邵俊豪\\<题目名>\\<题目名>.out","w",stdout);
并因此而丢掉了
SD-S01032 全部代码节选:
freopen("<题目名>.in","r","stdin");
freopen("<题目名>.out","w","stdout");
并因此而丢掉了
SD-S01033 lock 代码节选:
freopen("lock2.in","r",stdin);
freopen("lock.out","w",stdout);
并因此而丢掉了
值得注意的是,同样在 lock 文件夹下,有一个叫做 lock(暴力).cpp 的文件,然而两文件内容完全相同。
SD-S01034 lock 因为注释了 freopen 而丢掉了
SD-S01090 game 因为注释了 freopen 而丢掉了
SD-S01103 全部代码节选:
freopen("<题目名>.in","r",stdin);
freopen("<题目名>.ans","w",stdout);
并因此丢掉了
SD-S01107 全部代码节选:
ifstream cin("<题目名>.in");
ofstream cout("<题目名>.ans");
并因此丢掉了
SD-S01117 lock 因为注释了 freopen 而丢失了 freopen 但是本来就是
SD-S01171 lock 因为注释了 freopen 而丢失了
全体 OIer 默哀三毫秒。
SF《NOI 系列赛常见技术问题整理》相关情况统计
bits/stdc++.h 在 2816 次。
bits\stdc++.h 在且仅在 SD-S01070 tree 的代码中出现过
注意 #include <bits\stdc++.h> 在 NOI Linux 下无法通过编译。
#define int long long 在
using ll = long long 与 using i64 = long long 共出现了
typedef long long 在
__int128 在
ios::sync_with_stdio 在
ios :: sync_with_stdio 在
fclose 在
使用 fclose 且没有刷新缓冲区的代码数目先等一等。
fread 在 fread 快读。
__ 在
__gcd 未出现。
__builtin 与 __builtin_popcount 均在