Skip to content

In this repository, I wrote a simple code to convert Hoj test cases to quera format | در این ریپوزیتوری یه کد ساده نوشتم که فرمت تست‌کیس‌های هاج رو تبدیل به کوئرا کنم

License

Notifications You must be signed in to change notification settings

ctrl-alt-Defeat-icpc/hoj2quera

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

I had previously written a program in iq-ship for converting different versions of Domjudge to Quera.

Convert Hoj format samples to Quera

This program works very simply. Just copy and paste the folder containing the Hoj test cases into the contest folder. Then run the program. Finally, in the contest folder, only the folder containing the Quera formats will remain. Finally, just upload the zip file corresponding to the question in the Quera questions and that's it!

To run the program, run the following command

python main.py

or below

python3 main.py
Quera files format
./contest_name
    ./[problem_letter]
        problem.zip
            ./in
                input[test_case_number].txt
            ./out
                output[test_case_number].txt
            tester.cpp # tester file
Hoj files format
./contest_name
    problem_[number]_testcase_[some_numbers].zip
        [test_case_number].in
        [test_case_number].out
        info

About

In this repository, I wrote a simple code to convert Hoj test cases to quera format | در این ریپوزیتوری یه کد ساده نوشتم که فرمت تست‌کیس‌های هاج رو تبدیل به کوئرا کنم

Topics

Resources

License

Stars

Watchers

Forks

Languages