codeforces parse and create tests

1. Copy test cases from here to here:

clipboard example:

inputCopy
4
6
1
1
1
1
outputCopy
3 7
...
...
inputCopy
3
7
1
6
5
outputCopy
7 13

2. Run create_tests.py

python3 create_tests.py <<< $(xclip -o)

(directory structure after the command)

├── test_1
│   ├── input.txt
│   └── output.txt
├── test_2
│   ├── input.txt
│   └── output.txt
├── test_3
│   ├── input.txt
│   └── output.txt
└── test_4
    ├── input.txt
    └── output.txt

3. compile main.cpp -> a file

g++ -Wall -Wextra -Wshadow -D_GLIBCXX_ASSERTIONS -ggdb3 -fmax-errors=2 -o a main.cpp

(directory structure after the command)

├── a
├── main.cpp
├── test_1
│   ├── input.txt
│   └── output.txt
├── test_2
│   ├── input.txt
│   └── output.txt
├── test_3
│   ├── input.txt
│   └── output.txt
└── test_4
    ├── input.txt
    └── output.txt

4. test all cases

test.sh