跳到正文

zhangyaiwei

684245

JC我的人没亩

这是 2026年11月9日 存档的第 2 版,不是当前版本。查看当前版本

资料、奖项与版本

资料

编号
684245
抓取

奖项

2025 CSP-S
一等奖
2024 CSP-S
一等奖
2023 CSP-J
一等奖
2023 CSP-S
二等奖
2022 CSP-J
二等奖

版本

  1. v3当前
  2. v2
  3. v1

用有限的生命,投放到无限的为蒟蒻(自己)的服务中

Think twice,code once

你知道吗,一个抄题解的人是没有家的。你知道吗,一个抄题解的人是没有家的。 ——ifxxx——ifxxx
快读快写板子
C++
namespace IO{
	char *p1,*p2,*p3,buf[100000],buf2[100000];
	#define LOCAL
	#ifndef LOCAL
		#define getchar() (p1==p2&&(p2=(p1=buf)+fread(buf,1,100000,stdin),p1==p2)?EOF:*p1++)
		#define flush() (fwrite(buf2,1,p3-buf2,stdout),p3=buf2)
		#define putchar(ch) (p3==buf2+100000&&flush(),*p3++=(ch))
		struct Manager{
			Manager(){p3=buf2;}
			~Manager(){flush();}
		}_;
	#endif
	template<typename T>
	inline void read(T &x){
		int f=1,ch=getchar();x=0;
		while(ch!=EOF&&!isdigit(ch)){
			if(ch=='-') f=-f;
			ch=getchar();
		}
		while(isdigit(ch)){
			x=(x<<3)+(x<<1)+ch-'0';
			ch=getchar();
		}
		x*=f;
	}
	inline void read(char &ch){
		ch=getchar();
	}
	inline void read(char* s){
		int ch=getchar();
		while(ch!=EOF&&isspace(ch)) ch=getchar();
		while(ch!=EOF&&!isspace(ch)){
			*s++=(char)ch;
			ch=getchar();
		}
		*s='\0';
	}
	template<typename T>
	inline void write(T x){
		if(x<0) putchar('-'),x=-x;
		if(x>9) write(x/10);
		putchar(x%10+'0');
	}
	inline void write(char ch){
		putchar(ch);
	}
	inline void write(const char* s){
		while(*s) putchar(*s++);
	}
	inline void write(char* s){
		while(*s) putchar(*s++);
	}
	template<typename T>
	inline void writeln(T x){
		write(x),putchar('\n');
	}
	template<typename T,typename... Args>
	inline void read(T &&x,Args&&... args){
		read(x),read(std::forward<Args>(args)...);
	}
	template<typename T,typename... Args>
	inline void write(T x,Args... args){
		write(x),putchar(' '),write(args...);
	}
	template<typename T,typename... Args>
	inline void writeln(T x,Args... args){
		write(x),putchar(' '),writeln(args...);
	}
}using namespace IO;

大堆链接

搞学 收藏夹

奆佬↓↓\LARGE{奆佬}↓↓

A∗A^*出品,必属 __ __

做题计划(非公开) 隐藏记(非公开)

WSSB