Skip to content

AyushRawal/competitve-programming-helper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commits
 
 
 
 
 
 

Repository files navigation

Competitive Programming Helper

This is a simple C++ script to help you with Competitive Programming.


Installation 🔨

You can build this program yourself or you can download the binary directly.

To set the template path create an environment variable TEMPLATE_PATH and set it to the path to your template.

For Linux users, add to this to your .bashrc or .zshrc :

export TEMPLATE_PATH="/path/to/your/template"

Usage 📄

[USAGE]: ch [CONTEST-NAME] [PROBLEM-COUNT]
   [OR]: ch [FILE-NAME]

The first method creates a directory named CONTEST-NAME in your current directory and creates PROBLEM-COUNT number of files with your template.

The second method creates a file named FILE-NAME in your current directory with your template.

Note : Do not add extension to FILE-NAME, it automatically takes it from your template.