快读&快输
周瑾瑜大佬传授
1K的头
#include<iostream>
#define int long long
#define inf 0x3f3f3f3f
#define mod 998244353
using namespace std;
char buf[1<<20],*p1,*p2;
#define getchar() (p1==p2&&(p2=(p1=buf)+fread(buf,1,1<<20,stdin),p1==p2)?0:*p1++)
inline int read() {int x=0,f=1;char ch=getchar();while(ch<'0'||ch>'9') {if(ch=='-') f=-1;ch=getchar();}while(ch>='0'&&ch<='9') x=(x<<1)+(x<<3)+(ch^48),ch=getchar();return x*f;}
inline void write(int x) {if(x<0) {putchar('-');write(-x);return;}if(x>=10) write(x/10);putchar(x%10+'0');}
inline void writes(int x) {write(x);putchar(' ');}
inline void writel(int x) {write(x);putchar('\n');}
#define R register