Created
February 24, 2022 13:13
-
-
Save PSCoder10462/0ad76b4e9e1e6468257f651157e38dae to your computer and use it in GitHub Desktop.
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; | |
| #define ll long long | |
| #define vi vector<ll> | |
| #define vvi vector<vi> | |
| #define all(v) v.begin(), v.end() | |
| #define pii pair<ll, ll> | |
| #define pb push_back | |
| #define mp make_pair | |
| #define mid(l, h) ((l+h)/2) | |
| #define loop(i, a, b) for (auto i = a; i < b; ++i) | |
| #define looprev(i, a, b) for (auto i = a; i >= b; --i) | |
| #define mod 1'000'000'007 | |
| #define endl '\n' | |
| #define ff first | |
| #define ss second | |
| #define pinf LLONG_MAX | |
| #define ninf LLONG_MIN | |
| /******************************************************/ | |
| void file_i_o() { | |
| ios_base::sync_with_stdio(false); | |
| cin.tie(NULL); cout.tie(NULL); | |
| #ifndef ONLINE_JUDGE | |
| freopen("input.txt", "r", stdin); | |
| freopen("output.txt", "w", stdout); | |
| #endif | |
| } | |
| void solve() { | |
| // code goes here | |
| } | |
| int main () { | |
| clock_t start = clock(); | |
| file_i_o(); | |
| ll T=1; | |
| // cin >> T; | |
| while (T--) { | |
| solve(); | |
| } | |
| #ifndef ONLINE_JUDGE | |
| clock_t end = clock(); | |
| cout << "\n\nExecuted in: " << (double)(end - start) / double(CLOCKS_PER_SEC) | |
| << " sec"; | |
| #endif | |
| return 0; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment