https://github.com/farbodsz/cp-template
My C++ template and setup for programming contests.
https://github.com/farbodsz/cp-template
codeforces cp-template programming-contests
Last synced: 12 months ago
JSON representation
My C++ template and setup for programming contests.
- Host: GitHub
- URL: https://github.com/farbodsz/cp-template
- Owner: farbodsz
- Created: 2020-06-09T11:35:52.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-11-24T12:46:55.000Z (about 5 years ago)
- Last Synced: 2025-01-11T18:37:08.562Z (about 1 year ago)
- Topics: codeforces, cp-template, programming-contests
- Language: C++
- Homepage:
- Size: 3.91 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# cp-template
My bash script for generating C++ starter files for programming contests.
The C++ template includes some standard libraries, macros, and type definitions.
These can be customised by just modifying `template.cpp` according to your preferences.
## Getting Started
First, clone the repository to have a copy of the files on your machine.
You can run the script using:
```shell script
./contest
```
where
* `` is the directory you want to use for your starter files (it can be a new directory)
* `` is the number of starter files you want to generate
_(To run the script from any directory, consider adding it to your `PATH`.)_