Skip to content

A simple script to help generate Quera's test structure.

License

Notifications You must be signed in to change notification settings

msdousti/quera_helper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

quera_helper

Quera is an online judge for C, C++, Java and Python programming courses. The source code is freely available.

Any instructor wishing to use Quera has to provide it with a test structure, as specified in their documentation.

The test structure is a ZIP file, often containing two directories: in, and out. The input files reside in the in directory, while the corresponding results (the expected output) are to be found in the out directory.

Creating the test structure is often a tedious task, and that's where quera_helper comes to the rescue! It takes a list of input-output pairs, and generates the desired ZIP file. Here's a sample code showing the usage:

import quera_helper as qh

input1 = 6
input2 = 11

output1 = 36
output2 = 121

L = [(input1, output1), (input2, output2)]
qh.create_zip_file(L)

About

A simple script to help generate Quera's test structure.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages