Rating changes for last rounds are temporarily rolled back. They will be returned soon. ×

how to add multi tests in gym with problem.xmladd problems in gym and get 409 error
Difference between en2 and en3, changed 2,305 character(s)
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 the tree of this problem folder is this:↵


~~~~~↵
│  check.cpp↵
│  problem.xml↵
│↵
├─files↵
│      check.cpp↵
│      testlib.h↵
│↵
├─solutions↵
└─tests↵
        01.ans↵
        01.in↵
        02.ans↵
        02.in↵
        03.ans↵
        03.in↵
        04.ans↵
        04.in↵
        05.ans↵
        05.in↵
        06.ans↵
        06.in↵
        07.ans↵
        07.in↵
        08.ans↵
        08.in↵
        09.ans↵
        09.in↵
        10.ans↵
        10.in↵
        11.ans↵
        11.in↵
        12.ans↵
        12.in↵
~~~~~↵



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.`
when I update contest, it says:↵
~~~~~↵
Can't release contest, because there are validation errors:↵
<!doctype html><html lang="en"><head><title>HTTP Status 409 – Conflict</title><style type="text/css">h1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;} h2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;} h3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;} body {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} b {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} p {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;} a {color:black;} a.name {color:black;} .line {height:1px;background-color:#525D76;border:none;}</style></head><body><h1>HTTP Status 409 – Conflict</h1></body></html>↵
~~~~~


whoI can help me, what's wrong in these tests.'t understand this, can anyone help me? thank you.↵

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en5 English 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 English xzm2024 2019-11-15 06:23:21 2 Tiny change: 'it says:\n~~~~~\nC' -> 'it says:\n\n~~~~~\nC'
en3 English xzm2024 2019-11-15 06:23:07 2305
en2 English xzm2024 2019-11-15 05:49:39 502
en1 English xzm2024 2019-11-15 05:46:28 1578 Initial revision (published)