跳到正文

liuyuannb

449548

(已AFO)警钟长鸣:死也不做CSP第三题

在洛谷打开
资料、奖项与版本

资料

编号
449548
抓取

奖项

2025 CSP-S
一等奖
2025 NOIP
二等奖
2024 CSP-S
二等奖
2024 NOIP
三等奖
2023 CSP-J
一等奖
2023 CSP-S
二等奖
2021 CSP-J
二等奖

快读

C++
inline int read()
{
	int sum=0,f=1;
	char ch(getchar());
	while(ch<'0'||ch>'9')
	{
		if(ch=='-')
		  f=-1;
		ch=getchar();
	}
	while(ch>='0'&&ch<='9')
	{
		sum=sum*10+int(ch-'0');
		ch=getchar();
	}
	return sum*f;
}
inline void write(long long x)
{
	if(x<0)
	{
		putchar('-');
		x=-x;
	}
	if(x>9)
	{
		write(x/10);
	}
	putchar(x%10+'0');
}

不行可以改成这样

C++
getchar_unlocked()

CIN快读

C++
ios::sync_with_stdio(0);
cin.tie(0);
cout.tie(0);

GFY巅峰时刻


一个月通过次数最高为:

175次

2024.7

https://c.binjie.fun/


传送门


高光时刻

还没有收录这位用户的文章。