Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <bits/stdc++.h>
- using namespace std;
- using ll = long long;
- using pii = pair<int, int>;
- #define endl "\n"
- #define fast_io ios::sync_with_stdio(false); cin.tie(0);
- #define file_io freopen("input.txt", "r", stdin); \
- freopen("output.txt", "w", stdout);
- #define _unique(c) (c).resize(unique(begin(c), end(c)) - (c).begin());
- #define debug(x) cerr <<"Line "<< __LINE__ <<" : "<< #x " = "<< x <<endl;
- template<typename T, typename TT>
- ostream& operator<<(ostream &os, const pair<T, TT> &t) { return os<<"("<<t.first<<", "<<t.second<<")"; }
- template<typename T>
- ostream& operator<<(ostream& os, const vector<T> &t) { for(auto& i: t) os<<i<<" "; return os; }
- int main(int argc, char** argv) {
- fast_io
- #ifdef LOCAL
- file_io
- #endif
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement