#    *** tests ***
mkdir tests
echo "Generating test #7"
scripts/gen-input-via-stdout.sh "wine files/gen_ge.exe 3423 10 0 1 100 10 1 1 100 10 2 1 100 10 3 1 100" "tests/07" 7
echo "Generating test #8"
scripts/gen-input-via-stdout.sh "wine files/gen_ge.exe 52643 10 0 1 100 10 1 1 100 10 2 1 100 10 3 1 100" "tests/08" 8
echo "Generating test #9"
scripts/gen-input-via-stdout.sh "wine files/gen_ge.exe 23 5 0 1 100 5 1 101 200 5 2 201 300 5 3 301 400" "tests/09" 9
echo "Generating test #10"
scripts/gen-input-via-stdout.sh "wine files/gen_ge.exe 17 10 0 1 1000 10 1 500 1500 10 2 1000 2000 10 3 1500 2500" "tests/10" 10
echo "Generating test #11"
scripts/gen-input-via-stdout.sh "wine files/gen_ge.exe 6875 20 0 1 1000 20 1 1 1000 20 2 1 1000 1 3 1 1 1 3 100 1000" "tests/11" 11
echo "Generating test #12"
scripts/gen-input-via-stdout.sh "wine files/gen_ge.exe 87243 10 0 3000 5000 10 1 3000 5000 3 2 500 1000 3 3 500 1000" "tests/12" 12
echo "Generating test #13"
scripts/gen-input-via-stdout.sh "wine files/gen_ge.exe 23452 100 0 1 100000 100 1 1 100000 100 2 1 100000 100 3 1 100000" "tests/13" 13
echo "Generating test #14"
scripts/gen-input-via-stdout.sh "wine files/gen_ge.exe 23 100 0 1 100000 100 1 1 100000 100 2 1 100000 100 3 1 100000" "tests/14" 14
echo "Generating test #15"
scripts/gen-input-via-stdout.sh "wine files/gen_ge.exe 129 100 0 1 100000 100 1 1 100000 100 2 1 100000 100 3 1 100000" "tests/15" 15
echo "Generating test #16"
scripts/gen-input-via-stdout.sh "wine files/gen_ge.exe 671 100 0 1 100000 100 1 1 100000 100 2 1 100000 100 3 1 100000" "tests/16" 16
echo "Generating test #17"
scripts/gen-input-via-stdout.sh "wine files/gen_ge.exe 91144 100 0 1 100000 100 1 1 100000 100 2 1 100000 100 3 1 100000" "tests/17" 17
echo "Generating test #18"
scripts/gen-input-via-stdout.sh "wine files/gen_ge.exe 972524 100 3 1 100000 100 1 20000 60000 100 2 40000 41000 100 0 40050 40060" "tests/18" 18
echo "Generating test #19"
scripts/gen-input-via-stdout.sh "wine files/gen_ge.exe 54276 1000 0 1 50000 1000 1 1 50000 1000 2 1 50000 1 3 60000 60000" "tests/19" 19
echo "Generating test #20"
scripts/gen-input-via-stdout.sh "wine files/gen_ge.exe 534 10000 0 1 100000 10000 1 1 100000 10000 2 1 100000 10000 3 1 100000" "tests/20" 20
echo "Generating test #21"
scripts/gen-input-via-stdout.sh "wine files/gen_ge.exe 777 10000 0 50001 75000 10000 1 1 25000 10000 2 75001 100000 10000 3 25001 50000" "tests/21" 21
echo "Generating test #22"
scripts/gen-input-via-stdout.sh "wine files/gen_ge.exe 666 20000 0 1 100000 20000 1 1 100000 10 2 1 10000 20000 3 1 10000" "tests/22" 22
echo "Generating test #23"
scripts/gen-input-via-stdout.sh "wine files/gen_ge.exe 111 20000 0 1 100000 20000 1 1 100000 10 3 1 10000 20000 2 1 10000" "tests/23" 23
echo "Generating test #24"
scripts/gen-input-via-stdout.sh "wine files/gen_ge.exe 8374 100000 0 1 100000 100000 1 1 100000 100000 2 1 100000 100000 3 1 100000" "tests/24" 24
echo "Generating test #25"
scripts/gen-input-via-stdout.sh "wine files/gen_ge.exe 927534 100000 0 1 100000 100000 1 1 100000 100000 2 1 100000 100000 3 1 100000" "tests/25" 25
echo "Generating test #26"
scripts/gen-input-via-stdout.sh "wine files/gen_ge.exe 93 100000 0 1 25000 100000 1 25001 50000 100000 2 50001 75000 100000 3 75001 100000" "tests/26" 26
echo "Generating test #27"
scripts/gen-input-via-stdout.sh "wine files/gen_ge.exe 97 100000 2 1 50000 100000 3 25000 75000 100000 0 50000 100000 100000 1 1 100000" "tests/27" 27
echo "Generating test #28"
scripts/gen-input-via-stdout.sh "wine files/gen_ge.exe 82341 100000 0 50000 51000 100000 1 50000 51000 100000 2 50000 51000 100000 3 50000 51000" "tests/28" 28
echo "Generating test #29"
scripts/gen-input-via-stdout.sh "wine files/gen_ge.exe 876 100000 0 23 23 100000 1 23 23 100000 2 23 23 100000 3 23 23" "tests/29" 29
echo "Generating test #30"
scripts/gen-input-via-stdout.sh "wine files/gen_ge.exe 98375 100000 0 1 100000 100000 1 1 100000 100000 2 1 100000 10 3 1 100000" "tests/30" 30
echo "Generating test #31"
scripts/gen-input-via-stdout.sh "wine files/gen_ge.exe 98 100000 0 1 100000 100000 1 1 100000 100000 2 1 100000 10 2 1 100000" "tests/31" 31
echo "Generating test #32"
scripts/gen-input-via-stdout.sh "wine files/gen_ge.exe 9 100000 0 1 100000 100000 1 1 100000 100000 2 1 100000 10 3 1 100000" "tests/32" 32
echo "Generating test #33"
scripts/gen-input-via-stdout.sh "wine files/gen_ge.exe 83457 100000 0 1 100000 100000 2 1 100000 5 1 1 100000 5 3 1 100000" "tests/33" 33
echo "Generating test #34"
scripts/gen-input-via-stdout.sh "wine files/gen_ge.exe 8345 100000 2 1 100000 100000 1 1 100000 5 0 1 100000 5 3 1 100000" "tests/34" 34
echo "Generating test #35"
scripts/gen-input-via-stdout.sh "wine files/gen_ge.exe 834 100000 0 1 100000 100000 3 1 100000 5 2 1 100000 5 1 1 100000" "tests/35" 35
echo "Generating test #36"
scripts/gen-input-via-stdout.sh "wine files/gen_ge.exe 8 100000 3 1 100000 100000 2 1 100000 5 1 1 100000 5 0 1 100000" "tests/36" 36
echo "Generating test #37"
scripts/gen-input-via-stdout.sh "wine files/gen_ge.exe 987234 100000 0 1 100000 100000 1 1 100000 100 2 1 100000 100 3 1 100000" "tests/37" 37
echo "Generating test #38"
scripts/gen-input-via-stdout.sh "wine files/gen_ge.exe 82736 100000 0 1 100000 1000 1 1 100000 100 2 1 100000 10 3 1 100000" "tests/38" 38
echo ""
echo "Generating answer for test #1"
scripts/gen-answer.sh tests/01 tests/01.a
echo ""
echo "Generating answer for test #2"
scripts/gen-answer.sh tests/02 tests/02.a
echo ""
echo "Generating answer for test #3"
scripts/gen-answer.sh tests/03 tests/03.a
echo ""
echo "Generating answer for test #4"
scripts/gen-answer.sh tests/04 tests/04.a
echo ""
echo "Generating answer for test #5"
scripts/gen-answer.sh tests/05 tests/05.a
echo ""
echo "Generating answer for test #6"
scripts/gen-answer.sh tests/06 tests/06.a
echo ""
echo "Generating answer for test #7"
scripts/gen-answer.sh tests/07 tests/07.a
echo ""
echo "Generating answer for test #8"
scripts/gen-answer.sh tests/08 tests/08.a
echo ""
echo "Generating answer for test #9"
scripts/gen-answer.sh tests/09 tests/09.a
echo ""
echo "Generating answer for test #10"
scripts/gen-answer.sh tests/10 tests/10.a
echo ""
echo "Generating answer for test #11"
scripts/gen-answer.sh tests/11 tests/11.a
echo ""
echo "Generating answer for test #12"
scripts/gen-answer.sh tests/12 tests/12.a
echo ""
echo "Generating answer for test #13"
scripts/gen-answer.sh tests/13 tests/13.a
echo ""
echo "Generating answer for test #14"
scripts/gen-answer.sh tests/14 tests/14.a
echo ""
echo "Generating answer for test #15"
scripts/gen-answer.sh tests/15 tests/15.a
echo ""
echo "Generating answer for test #16"
scripts/gen-answer.sh tests/16 tests/16.a
echo ""
echo "Generating answer for test #17"
scripts/gen-answer.sh tests/17 tests/17.a
echo ""
echo "Generating answer for test #18"
scripts/gen-answer.sh tests/18 tests/18.a
echo ""
echo "Generating answer for test #19"
scripts/gen-answer.sh tests/19 tests/19.a
echo ""
echo "Generating answer for test #20"
scripts/gen-answer.sh tests/20 tests/20.a
echo ""
echo "Generating answer for test #21"
scripts/gen-answer.sh tests/21 tests/21.a
echo ""
echo "Generating answer for test #22"
scripts/gen-answer.sh tests/22 tests/22.a
echo ""
echo "Generating answer for test #23"
scripts/gen-answer.sh tests/23 tests/23.a
echo ""
echo "Generating answer for test #24"
scripts/gen-answer.sh tests/24 tests/24.a
echo ""
echo "Generating answer for test #25"
scripts/gen-answer.sh tests/25 tests/25.a
echo ""
echo "Generating answer for test #26"
scripts/gen-answer.sh tests/26 tests/26.a
echo ""
echo "Generating answer for test #27"
scripts/gen-answer.sh tests/27 tests/27.a
echo ""
echo "Generating answer for test #28"
scripts/gen-answer.sh tests/28 tests/28.a
echo ""
echo "Generating answer for test #29"
scripts/gen-answer.sh tests/29 tests/29.a
echo ""
echo "Generating answer for test #30"
scripts/gen-answer.sh tests/30 tests/30.a
echo ""
echo "Generating answer for test #31"
scripts/gen-answer.sh tests/31 tests/31.a
echo ""
echo "Generating answer for test #32"
scripts/gen-answer.sh tests/32 tests/32.a
echo ""
echo "Generating answer for test #33"
scripts/gen-answer.sh tests/33 tests/33.a
echo ""
echo "Generating answer for test #34"
scripts/gen-answer.sh tests/34 tests/34.a
echo ""
echo "Generating answer for test #35"
scripts/gen-answer.sh tests/35 tests/35.a
echo ""
echo "Generating answer for test #36"
scripts/gen-answer.sh tests/36 tests/36.a
echo ""
echo "Generating answer for test #37"
scripts/gen-answer.sh tests/37 tests/37.a
echo ""
echo "Generating answer for test #38"
scripts/gen-answer.sh tests/38 tests/38.a
echo ""

