how to add multi tests in gym with problem.xml

Правка en1, от xzm2024, 2019-11-15 05:46:28

I write these in problem.xml

<?xml version="1.0" encoding="utf-8" standalone="no"?>
<problem>
    <names>
        <name language="english" main="true" value="LytchenLovesJSON"/>
    </names>
    <judging cpu-name="Intel(R) Core(TM) i3-8100 CPU @ 3.60GHz" cpu-speed="3600" input-file="" output-file="">
        <testset name="tests">
            <time-limit>1000</time-limit>
            <memory-limit>134217728</memory-limit>
            <test-count>12</test-count>
            <input-path-pattern>tests/%02d.in</input-path-pattern>
            <answer-path-pattern>tests/%02d.ans</answer-path-pattern>
            <tests>
                <test method="manual"/>
            </tests>
        </testset>
    </judging>
    <files>
        <resources>
            <file path="files/testlib.h" type="h.g++"/>
        </resources>
    </files>
    <assets>
        <checker type="testlib">
            <source path="files/check.cpp" type="cpp.g++"/>
            <copy path="check.cpp" type="cpp.g++"/>
        </checker>
    </assets>
    <properties>
        <property name="tests-wellformed" value="false"/>
    </properties>
</problem>

and in the folder tests there are 01.in, 01.ans, ..., 12.in, 12.ans

however, when I try to update contest, it says User {name='xzm2019'}: XML-descriptor of the problem 'C' has illegal format: The specified test count in testset 'tests' is 12, but actual number of tests is 1.

who can help me, what's wrong in these tests. thank you.

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en5 Английский xzm2024 2019-11-15 06:27:33 66 Tiny change: 'when I upd' -> 'I wait for some times and it auto solved. Thank you!\n\n\nwhen I upd'
en4 Английский xzm2024 2019-11-15 06:23:21 2 Tiny change: 'it says:\n~~~~~\nC' -> 'it says:\n\n~~~~~\nC'
en3 Английский xzm2024 2019-11-15 06:23:07 2305
en2 Английский xzm2024 2019-11-15 05:49:39 502
en1 Английский xzm2024 2019-11-15 05:46:28 1578 Initial revision (published)