模板:
C++#include<bits/stdc++.h>
using namespace std;
typedef long long ll;
int main() {
ios::sync_with_stdio(0);
cin.tie(0);
cout.tie(0);
// freopen(".in","r",stdin);
// freopen(".out","w",stdout);
return 0;
}
C++inline long long read(){//快读
long long x=0,f=1;
char c=getchar();
while(!isdigit(c)){
if(c=='-') f=-1;
c=getchar();
}
while(isdigit(c)){
x=x*10+c-'0';
c=getchar();
}
return x*f;
}
inline void write(long long x){//快写
if(x<0) putchar('-'), x=-x;
if(x>9)
write(x/10);
putchar(x%10+'0');
return;
}