Competitive Programming

Some of the resources that I have found useful for competitive programming.

First of all, here’s my snippet,

#include <bits/stdc++.h>
using namespace std;
 
// Simple template by sharafat 
typedef long long ll;
typedef pair<int, int> pii;
typedef pair<ll, ll> pll;
typedef pair<string, string> pss;
typedef vector<int> vi;
typedef vector<vi> vvi;
typedef vector<pii> vii;
typedef vector<ll> vl;
typedef vector<vl> vvl;
 
#define endl '\n'
 
void test() {
    
}
 
int main()
{
    ios_base::sync_with_stdio(false);
    cin.tie(NULL);
    // Code starts here
 
    ll t = 1;
    cin >> t;
    while(t--) test();
 
    // Code ends here
    return 0;
}

And yeah, you can definitely use a snippet builder to automate this thing into vscode.

Maybe I’ll update later.