慢 读
#include<cstdio>
inline int read()
{
int s=0,w=1;
char ch=getchar();
while(ch<'0'||ch>'9')
{
if(ch=='-')
{
w=-1;
}
ch=getchar();
}
while(ch>='0'&&ch<='9')
{
s=s*10+ch-'0';
ch=getchar();
}
return s*w;
}
or
inline void read(int &s)
{
s=0;
int w=1;
char ch=getchar();
while(ch<'0'||ch>'9')
{
if(ch=='-')
{
w=-1;
}
ch=getchar();
}
while(ch>='0'&&ch<='9')
{
s=(s<<1)+(s<<3)+(ch&15);
ch=getchar();
}
s*=w;
}
template<typename T>
inline T read(T x)
{
}博客:https://www.luogu.com.cn/blog/memset-3/
初赛:https://www.luogu.com.cn/blog/334586/csp-pre-knowledge
https://www.cnblogs.com/chinhhh/p/7965433.html
https://www.luogu.com.cn/discuss/474560
2022-09-16 15:12:45 莫名过黑
2022-10-25 19:12:45 第一篇题解 CF1028D Order book