Created
July 21, 2021 08:37
-
-
Save geekypandey/aebf1361149957fe0b9b3d9eddd0d1d9 to your computer and use it in GitHub Desktop.
CP Template File
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <bits/stdc++.h> | |
using namespace std; | |
using ll = long long; | |
using vi = vector<int>; | |
using vvi = vector<vector<int>>; | |
using vl = vector<ll>; | |
using vvl = vector<vector<ll>>; | |
using pi = pair<int, int>; | |
using pl = pair<ll, ll>; | |
#define all(x) begin(x), end(x) | |
#define rall(x) rbegin(x), rend(x) | |
#define PB push_back | |
#define MP make_pair | |
#define F first | |
#define S second | |
#define endl '\n' | |
#define forn(i, n) for(ll i = 0; i < n; i++) | |
#define fora(i, a, n) for(ll i = a; i < n; i++) | |
#define readi(e) int e; cin >> e | |
#define readl(e) ll e; cin >> e | |
#define reads(e) string e; cin >> e | |
#define T int tt; cin >> tt; while(tt--) | |
template<typename U> | |
void print(U arr) { | |
for(auto element: arr) { | |
cout << element << " "; | |
} | |
cout << endl; | |
} | |
// read and write into files, rather than standard i/o | |
void setup(string s) { | |
freopen((s+".in").c_str(), "r", stdin); | |
freopen((s+".out").c_str(), "w", stdout); | |
} | |
const int M = 1e9+7; | |
int main(void) { | |
ios::sync_with_stdio(false); | |
cin.tie(0); | |
return 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment