aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony Wang2020-08-18 17:13:15 -0500
committerAnthony Wang2020-08-18 17:13:15 -0500
commit98b5f5199eaa8c3476d6ba27c66ccdbdcc02e823 (patch)
tree5f7ba2b09ddc5e1695e25836947fd059a25bf4ee
parenta88ccf74860ed931c032f38a0e3d849db3e55c19 (diff)
Create README.md
-rw-r--r--Template/README.md10
1 files changed, 10 insertions, 0 deletions
diff --git a/Template/README.md b/Template/README.md
new file mode 100644
index 0000000..c2fc18f
--- /dev/null
+++ b/Template/README.md
@@ -0,0 +1,10 @@
+## Templates
+
+ - `basic.cpp` is a minimalistic template for online contests like Codeforces and AtCoder
+ - `template.cpp` is a light template for online contests
+ - `usaco.cpp` is a modified version of `template.cpp` for USACO
+
+### Notes
+
+ - Symlink these files from the repository to your home directory so you can easily `cp ~/basic.cpp .` and `cat ~/template.cpp`
+ - The line `if (fopen("in", "r")) freopen("in", "r", stdin), freopen("out", "w", stdout);` is to redirect output to files `in` and `out`, if they exist