Created
March 28, 2022 05:58
-
-
Save iamsahebgiri/f1ea8e2bcd2e8eea228fc65dda56d000 to your computer and use it in GitHub Desktop.
C++ code template
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>; | |
| #define pb push_back | |
| #define all(x) begin(x), end(x) | |
| #define sz(x) (int)(x).size() | |
| using pi = pair<int, int>; | |
| #define f first | |
| #define s second | |
| #define mp make_pair | |
| void setIO(string name = "") { | |
| cin.tie(0)->sync_with_stdio(0); | |
| if (sz(name)) { | |
| freopen((name + ".in").c_str(), "r", stdin); | |
| freopen((name + ".out").c_str(), "w", stdout); | |
| } | |
| } | |
| int main(int argc, char const *argv[]) { | |
| setIO(); | |
| 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