My little template for Codeforces rounds
Difference between en2 and en3, changed 177 character(s)
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()↵
#define sz(v) (int)(v.size())↵
#define feq(a, b) (fabs(a - b) < eps)↵
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 = 1000000007typedef long double ld;↵

const ll INF = 1e18, MOD = 1e9+7;↵
const int int_max = 1e9;↵
const ld eps = 1e-9
;↵

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)