Last active
October 11, 2020 20:39
-
-
Save kirugan/9430602811f621a081a03564b0acd920 to your computer and use it in GitHub Desktop.
Template for competitive programming
This file contains 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 ALL(X) begin(X), end(X) | |
int main() { | |
// solution comes here | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In some contest systems, files are used for input and output. An easy solution for this is to write the code as usual using standard streams, but add the following lines to the beginning of the code: