Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/adityachandra1/testcase-file-generator

A simple program to automate the process of generating test-case input and output files when creating problem statements for competitive programming contests.
https://github.com/adityachandra1/testcase-file-generator

algorithm-challenges algorithms codechef codeforces competitive-programming competitive-programming-contests cpp hackerearth hackerrank problem-setter problem-setting testcase

Last synced: 4 days ago
JSON representation

A simple program to automate the process of generating test-case input and output files when creating problem statements for competitive programming contests.

Awesome Lists containing this project

README

        

# Testcase Generator
A simple C++ program to automate the process of generating input and output testcase files when creating and hosting problem statements for competitive programming contests on Hackerrank, Hackerearth, Codechef, Codeforces and other custom contests which require multiple input and output files to test the participant's solutions.

## Running the Code
- Setup the [C++](https://code.visualstudio.com/docs/languages/cpp) environment.
- Clone the repository.
- Paste the problem statement's solution input and output code in the population function in [tc_generator.cpp](tc_generator.cpp). (A sample solution snippet has been given for reference.)
- Compile [tc_generator.cpp](tc_generator.cpp) and run it.
- Enter the number of input and output testcase files to be generated along with your testcases (refer [inputs.txt](inputs.txt)).

All input and output testcase files will be generated in [/input](/input) and [/output](/output).