跳到正文

Ristear

720180

.

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

资料

编号
720180
抓取

奖项

2025 CSP-S
二等奖
2025 NOIP
二等奖
2024 NOIP
二等奖

快读

C++
const int MAXSIZE=1<<16;
char buf[MAXSIZE],*p1,*p2;
#define gc() (p1==p2&&(p2=(p1=buf)+fread(buf,1,MAXSIZE,stdin),p1 == p2)?EOF:*p1++)

不那么快的读

C++
#include <bits/stdc++.h>

using namespace std;

#define FILE(x) freopen(x".in","r",stdin);freopen(x".out","w",stdout)
#define gc() getchar()
#define pc(x) putchar(x)

inline int read()
{
	int x=0;char c=gc();
	while(!isdigit(c)) {c=gc();}
	while(isdigit(c)) {x=x*10+c-'0';c=gc();}
	return x;
}

inline void write(int x)
{
	if(x<0) {pc('-');x=-x;}
	if(x<10) {pc(x+'0');}
	else {write(x/10);pc(x%10+'0');}
	return ;
}

inline void print(int x)
{
	write(x);
	pc('\n');
	return ;
}

signed main()
{
//	FILE("");
	
	
	
	
	
	return 0;
}

好玩的

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