Hi! I'd like to share with the community the template I use for competing in Codeforces rounds. It's very simple, so is easier to learn to use it.
I hope it helps someone :-)
#include <bits/stdc++.h>
#define mp make_pair
#define lb lower_bound
#define ub upper_bound
#define pb push_back
#define fi first
#define se second
#define rep(i, a, b) for(int i=a;i<b;++i)
#define all(x) x.begin(), x.end()
using namespace std;
typedef long long ll;
typedef vector<ll> vll;
typedef vector<vll> vvll;
typedef pair<ll,ll> pll;
typedef vector<pll> vpll;
const ll INF = 1000000000000000000, MOD = 1000000007;
void solve() {
}
int main() {
ios::sync_with_stdio(0);
cin.tie(0);
int T = 1;
cin>>T;//You can comment this if you don't need it
while(T--) {
solve();
}
}