最新快读快写模板
yi_hr
·
·
个人记录
#include<bits/stdc++.h>
#define io
#define ll long long
#define INF 0x3f3f3f3f
#define LINF 0x3f3f3f3f3f3f3f3f
#ifdef io
constexpr int maxn=1<<10;
char in[maxn],out[maxn],*p1=in,*p2=in,*p3=out;
#define getchar() (p1==p2&&(p2=(p1=in)+fread(in,1,maxn,stdin),p1==p2)?EOF:*p1++)
#define flush() (fwrite(out,1,p3-out,stdout))
#define putchar(x) (p3==out+maxn&&(flush(),p3=out),*p3++=(x))
class Flush{public:~Flush(){flush();}}_;
#endif
inline int read(){
register int x=0,f=1;char c=getchar();
while(c<'0'||c>'9'){if(c=='-')f=-1;c=getchar();}
while(c>='0'&&c<='9')x=(x<<3)+(x<<1)+(c^48),c=getchar();
return x*f;
}
template<typename T>
inline void put(T x,int y){
x<0?x=-x,putchar('-'):0;static short Stack[50],top(0);
do Stack[++top]=x%10,x/=10;while(x);
while(top) putchar(Stack[top--]|48);
putchar(y?'\n':' ');
}
using namespace std;
constexpr int N=1e6+9;
int n,m,a[N];
int main(){
// freopen(".in","r",stdin);
// freopen(".out","w",stdout);
#ifndef io
ios::sync_with_stdio(0);cin.tie(0);cout.tie(0);
#endif
return 0;
}