算法竞赛初始化模版

借鉴了一些大神的模版

#include <bits/stdc++.h>
#define int long long
#define PII pair<int, int>
#define x first
#define y second
#define ls u<<1
#define rs u<<1|1
#define mod 998244353
#define pb(a) push_back(a)
#define io() ios::sync_with_stdio(false),cin.tie(NULL),cout.tie(NULL)
#define pqd priority_queue<int, vector<int>, less<int> >
#define pdx priority_queue<int, vector<int>, greater<int> >
#define endl '\n'
template<typename P>
inline void read(P &x){P res=0,f=1;char ch=getchar();while(ch<'0' || ch>'9'){if(ch=='-') f=-1;ch=getchar();}while(ch>='0' && ch<='9'){res=res*10+ch-'0';ch=getchar();}x=res*f;}
using namespace std;
int T = 1;
void solve()
{
	
}
signed main()
{
	io(); // 解除同步流
	//read(T); // 如果有多组测试数据就打开
	while (T--) solve();
	return 0;
}
posted @ 2024-02-04 00:47  高明y  阅读(44)  评论(0)    收藏  举报