How to prepare test case for USACO problems

Re: How to prepare test case for USACO problems

de Richard Lobb -
Número de respuestas: 2

CodeRunner questions are usually set up with the standard input and expected output for each test case explicitly stated in the list of test cases. The student's answer program should then read from standard input and write to standard output. Many (most?) major programming contests - e.g. ICPC - operate with standard input/output rather than named file(s).

It is possible to write a CodeRunner question type that takes the test case data from a set of support files (or a single zip file) but that requires advanced CodeRunner development skills and it sounds like you're a relative newcomer? I'd recommend you start with the much simpler approach of copying the data for each test into a test case in the question authoring form.

En respuesta a Richard Lobb

Re: How to prepare test case for USACO problems

de Sharad Goyal -

Thank you. I am able to set up the first USACO problem and test it successfully. Can I export the template and modify and import it further?

Is there any UNIX XML template location where I can download the problems?