Skip to content

mcmahonl/CompetitiveProgrammingTemplate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

C++ Competitive Programming Template

Everything you need to solve a competitive programming problem with C++

Includes:

  • C++ boilerplate file. this is where your code goes
  • a makefile to quickly compile and run your code for your own testing
  • (optional) empty text files to insert the problem's provided example case inputs and outputs for semi-automated testing

Usage

  1. Clone this repository
gh repo clone mcmahonl/CompetitiveProgrammingTemplate
  1. Navigate to ./generic
cd generic
  1. Write your code for the problem's solution in generic.cpp

  2. Compile your code using the provided makefile

make
  1. Run your code for testing
./a
  1. (optional) Copy and paste test cases into t<n>.txt

About

Competitive programming starter template for C++ programs

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published