Metadata-Version: 1.1
Name: RoundCreator
Version: 1.6.0
Summary: A tool that creates a programming contest folder structure
Home-page: https://github.com/srgrr/RoundCreator
Author: Sergio Rodriguez Guasch
Author-email: sergio.r.g@yandex.com
License: UNKNOWN
Description: # RoundCreator
        A very simple, small tool I developed some years ago. It creates a folder structure for programming contest problems. It works for Python 2.7 and Python 3.
        Due to the argparse dependency, it won't work on Python 2.6. It works and creates appropriate scripts for Windows and Linux.
        
        ## Installation
        If you have cloned this repo, you can type `python setup.py install`. This will install a package called "RoundCreator".
        ## General overview
        RoundCreator is a very typical script that accepts some arguments and then does some stuff. Its arguments (and its default values) are:
        * `--name` Contest name. Its default value is "myContest"
        * `--amount` Number of problems. Its default value is 5
        * `--until` Letter of the last problem. Its default value is 'e' (which is equal to 5).
        * `--single` Type it if you want a single problem. It will place the source and scripts in the contest folder.
        * `--author` Your name. If not specified, it won't appear in your source code template.
        * `--hightail` Type it if you want a hightail.config file appear on your contest root directory.
        
        ## A simple example
        Let's suppose you are competing in a contest called "hardContest" which has two problems (a and b), then, the following command:<br>
        `RoundCreator --name hardContest --amount 2`
        
        
        Will create the following folder structure:
        
        hardContest<br>
        ├── a<br>
        │   ├── compile.sh<br>
        │   ├── input.txt<br>
        │   ├── main.cc<br>
        │   ├── output.txt<br>
        │   └── test.sh<br>
        └── b<br>
            ├── compile.sh<br>
            ├── input.txt<br>
            ├── main.cc<br>
            ├── output.txt<br>
            └── test.sh<br>
        <br>
        
        ## Templates
        The code templates are the following:
        ### C++ source code
        ```c++
        /*
            Author: YourName (if specified)
        */
        #include <bits/stdc++.h>
        using namespace std;
        using ll = long long int;
        using vi = vector<int>;
        using vvi = vector<vi>;
        using vll = vector<ll>;
        using vvll = vector<vll>;
        int main() {
          ios_base::sync_with_stdio(0); cin.tie(0);
        }
        ```
        ### Compile script
        `g++ main.cc -Wall -O2 -DLOCAL -std=c++11`
        
        ### Test script
        Windows:<br>
        `a.exe < input.txt`<br>
        Linux:<br>
        `./a.out < input.txt`
        
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Environment :: Console
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: Education
Classifier: License :: OSI Approved :: MIT License
Classifier: Natural Language :: English
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: C++
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3.0
Classifier: Topic :: Education
Classifier: Topic :: Scientific/Engineering
Classifier: Topic :: Software Development
Classifier: Topic :: Utilities
