A tool for bootstrapping boilerplate code in Competitive Programming Contests as fast as possible
- g++
- clang-format
- cmake
- Open terminal and navigate to your working directory.
- Run the following commands
$ git clone https://github.com/razdeep/Competitive-Programming-Starters-Kit.git
$ cd Competitive-Programming-Starters-Kit
$ mkdir build && cd build
$ cmake .. && cmake --build .
$ sudo make install
- Install docker from here
- Navigate to the project root directory
- Build the docker image by running the command
$ docker build -t cpsk .
- Run the docker image
$ docker run -v $PWD:/app -it cpsk
- The rest of the steps are similar to whatever mentioned above.
- Make sure you have installed CPSK. You can verify your installation by running the command
cpsk --version
. - Generate the source files by running the command
cpsk <FILENAME>
. - Open the generated source file using your favourite text editor e.g.
vim <FILENAME>
.
- Linux
- Mac Os
- Windows
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright 2019 Rajdeep Roy Chowdhury