diff options
author | Anthony Wang | 2021-01-19 21:19:52 -0600 |
---|---|---|
committer | Anthony Wang | 2021-01-19 21:19:52 -0600 |
commit | 27b8983e30851859feb50b9e4c0d97111fd26c20 (patch) | |
tree | 960912b02f7aab10918e991e70988922b9047b7b /Template | |
parent | 63877b87b1df3ee8506f8b35579a9da2c96eef22 (diff) |
Update template README
Diffstat (limited to 'Template')
-rw-r--r-- | Template/README.md | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/Template/README.md b/Template/README.md index 504ebf0..e8cfc32 100644 --- a/Template/README.md +++ b/Template/README.md @@ -1,11 +1,16 @@ -## Templates +# Templates + +## About + - `basic.cpp` is a minimalistic template for online contests like Codeforces and AtCoder + - `template.cpp` is a lightweight template for online contests - - `usaco.cpp` is a slightly modified version of `template.cpp` for USACO -### Notes + +## Notes - Symlink these files from the repository to your home directory as `.b`, `.t`, and `.u`, so you can easily `cp ~/.b main.cpp` and `cat ~/.t` + - The line `if (fopen("in", "r")) freopen("in", "r", stdin), freopen("out", "w", stdout);` is to redirect input and output to files `in` and `out`, if they exist - - For the `usaco.cpp` template, replace `name` with the name of the problem + |