喵。
QQ 3622456991 喵!
挂一点模板 qwq
快读快写:
inline int read()
{
int x = 0;
bool op = 0;
char c = getchar();
while(!isdigit(c)) op |= (c == '-'), c = getchar();
while(isdigit(c)) x = (x << 1) + (x << 3) + (c ^ 48), c = getchar();
return op ? -x : x;
}
inline void print(int x)
{
if(x < 0) putchar('-'), x = -x;
if(x < 10) putchar(x + '0');
else print(x / 10), putchar(x % 10 + '0');
return;
}我自己常用的缺省源:
#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;
}