算法简单版子
LOCAL 可以在编译器自己加 g++ ··· -LOCAL
//by InsiApple
#include<bits/stdc++.h>
using namespace std;
typedef pair<int,int> pii;
typedef vector<int> vi;
#define x first
#define y second
#define pb push_back
#define rp(i,n,m) for(int i=(n);i<=(m);i++)
#define pr(i,n,m) for(int i=(m);i>=(n);i--)
#define all(a) a.begin(), a.end()
#define mod 1000000007
const int N = 2000010;
int _,t,n,m,k;
int a[N],b[N],c[N];
void slv(){
}
int main(){
ios::sync_with_stdio(false),cin.tie(0),cout.tie(0);
#ifdef LOCAL
freopen("in.txt", "r", stdin);freopen("out.txt", "w", stdout); auto tic = clock();
#endif
cin>>_;while(_--)
slv();
#ifdef LOCAL
printf("\nruntime: %.2f ms\n",clock() - tic);
#endif
return 0;
}
本文来自博客园,作者:InsiApple,转载请注明原文链接:https://www.cnblogs.com/InsiApple/p/16478698.html