Skip to content

Instantly share code, notes, and snippets.

@AyushRawal
Created September 17, 2024 09:04
Show Gist options
  • Save AyushRawal/1f9e64fb5cacd0b727d651c9e634bacf to your computer and use it in GitHub Desktop.
Save AyushRawal/1f9e64fb5cacd0b727d651c9e634bacf to your computer and use it in GitHub Desktop.
cp template
#include <bits/stdc++.h>
#define fast ios_base::sync_with_stdio(0);
#define io \
cin.tie(0); \
cout.tie(0)
#define endl '\n'
#define pb push_back
using namespace std;
typedef long long ll;
typedef vector<int> vi;
typedef vector<vi> vvi;
typedef vector<ll> vll;
typedef vector<vll> vvll;
typedef vector<string> vs;
typedef vector<bool> vb;
typedef set<int> si;
typedef pair<int, int> pii;
typedef pair<ll, int> pli;
typedef pair<int, ll> pil;
typedef pair<ll, ll> pll;
typedef vector<pii> vpii;
typedef vector<pil> vpil;
typedef vector<pli> vpli;
typedef vector<pll> vpll;
template <typename T> void print(const T &t) { cout << t << endl; }
template <typename T, typename... F> void print(const T &t, const F &...f) {
cout << t << " ";
print(f...);
}
template <typename T> void input_array(vector<T> &arr) {
for (int i = 0; i < arr.size(); i++) {
cin >> arr[i];
}
}
template <typename T> void print_array(const T &arr, char c = ' ') {
for (auto x : arr) {
cout << x << c;
}
cout << endl;
}
int main() {
fast io;
int t;
cin >> t;
while (t--) {}
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment