跳到正文

剪贴板

剪贴板 lr4jgrez

原文
剪贴板信息

剪贴板信息

收录
更新
C++
#include<bits/stdc++.h>

using namespace std;

namespace FastIO{
	constexpr int Len=1<<20;
	char in[Len+1],out[Len+1];
	char *pin=in,*ein=in,*pout=out,*eout=out+Len;

	inline char gc(){return pin==ein && (ein=(pin=in)+fread(in,1,Len,stdin),pin==ein)?EOF:*pin++;}
	inline void pc(char ch){pout==eout && (fwrite(out,1,Len,stdout),pout=out);(*pout++)=ch;return ;}
	inline void Flush(){fwrite(out,1,pout-out,stdout);pout=out;}

	template<typename T> T Read(){
		T x=0;int f=1;char ch=gc();
		while(ch<'0' || ch>'9'){f=(ch=='-'?(~f+1):f),ch=gc();}
		while(ch>='0' && ch<='9'){x=(x<<1)+(x<<3)+(ch^48),ch=gc();}
		return x*f;
	}
	template<typename T> void Write(T x,char ch){
		static char st[40];int tp=0;
		if(x<0){pc('-'),x=(~x+1);}
		do{st[tp++]=x%10+48,x/=10;}while(x);
		while(tp--){pc(st[tp]);}pc(ch);return ;
	}
}

#define Read FastIO::Read
#define Write FastIO::Write
#define Flush FastIO::Flush

constexpr int N=5e3+100,M=5e4+100;

inline void solve(){

}

inline void clr(){

}

signed main(){
//	freopen("in.in","r",stdin);
//	freopen("out.out","w",stdout);
	int T=1;
	while(T--){
		solve();
		clr();
	}
	Flush();
	return 0;
}