My little template for Codeforces rounds

Revision en2, by PathToMaster, 2021-07-04 03:07:38

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();
	}
}

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en4 English PathToMaster 2021-07-30 04:59:33 81
en3 English PathToMaster 2021-07-30 04:56:17 177 Included some recommendations from willy108
en2 English PathToMaster 2021-07-04 03:07:38 29 Tiny change: 'se it.\n\n\n~~~~~\' -> 'se it.\n\nI hope it helps someone :-)\n\n~~~~~\'
en1 English PathToMaster 2021-07-04 02:58:50 825 Initial revision (published)