<?xml version="1.0" encoding="utf-8" standalone="no"?>
<problem name="style" revision="18" url="http://codecenter.sgu.ru:8081/polygon/p/vasilevskiy.boris/style">
    <judging input-file="style.in" output-file="style.out">
        <testset name="tests">
            <time-limit>1000</time-limit>
            <memory-limit>67108864</memory-limit>
            <test-count>38</test-count>
            <input-path-pattern>tests/%02d</input-path-pattern>
            <answer-path-pattern>tests/%02d.a</answer-path-pattern>
            <tests>
                <test method="manual"/>
                <test method="manual"/>
                <test method="manual"/>
                <test method="manual"/>
                <test method="manual"/>
                <test method="manual"/>
                <test cmd="gen_ge 3423 10 0 1 100 10 1 1 100 10 2 1 100 10 3 1 100" method="generated"/>
                <test cmd="gen_ge 52643 10 0 1 100 10 1 1 100 10 2 1 100 10 3 1 100" method="generated"/>
                <test cmd="gen_ge 23 5 0 1 100 5 1 101 200 5 2 201 300 5 3 301 400" method="generated"/>
                <test cmd="gen_ge 17 10 0 1 1000 10 1 500 1500 10 2 1000 2000 10 3 1500 2500" method="generated"/>
                <test cmd="gen_ge 6875 20 0 1 1000 20 1 1 1000 20 2 1 1000 1 3 1 1 1 3 100 1000" method="generated"/>
                <test cmd="gen_ge 87243 10 0 3000 5000 10 1 3000 5000 3 2 500 1000 3 3 500 1000" method="generated"/>
                <test cmd="gen_ge 23452 100 0 1 100000 100 1 1 100000 100 2 1 100000 100 3 1 100000" method="generated"/>
                <test cmd="gen_ge 23 100 0 1 100000 100 1 1 100000 100 2 1 100000 100 3 1 100000" method="generated"/>
                <test cmd="gen_ge 129 100 0 1 100000 100 1 1 100000 100 2 1 100000 100 3 1 100000" method="generated"/>
                <test cmd="gen_ge 671 100 0 1 100000 100 1 1 100000 100 2 1 100000 100 3 1 100000" method="generated"/>
                <test cmd="gen_ge 91144 100 0 1 100000 100 1 1 100000 100 2 1 100000 100 3 1 100000" method="generated"/>
                <test cmd="gen_ge 972524 100 3 1 100000 100 1 20000 60000 100 2 40000 41000 100 0 40050 40060" method="generated"/>
                <test cmd="gen_ge 54276 1000 0 1 50000 1000 1 1 50000 1000 2 1 50000 1 3 60000 60000" method="generated"/>
                <test cmd="gen_ge 534 10000 0 1 100000 10000 1 1 100000 10000 2 1 100000 10000 3 1 100000" method="generated"/>
                <test cmd="gen_ge 777 10000 0 50001 75000 10000 1 1 25000 10000 2 75001 100000 10000 3 25001 50000" method="generated"/>
                <test cmd="gen_ge 666 20000 0 1 100000 20000 1 1 100000 10 2 1 10000 20000 3 1 10000" method="generated"/>
                <test cmd="gen_ge 111 20000 0 1 100000 20000 1 1 100000 10 3 1 10000 20000 2 1 10000" method="generated"/>
                <test cmd="gen_ge 8374 100000 0 1 100000 100000 1 1 100000 100000 2 1 100000 100000 3 1 100000" method="generated"/>
                <test cmd="gen_ge 927534 100000 0 1 100000 100000 1 1 100000 100000 2 1 100000 100000 3 1 100000" method="generated"/>
                <test cmd="gen_ge 93 100000 0 1 25000 100000 1 25001 50000 100000 2 50001 75000 100000 3 75001 100000" method="generated"/>
                <test cmd="gen_ge 97 100000 2 1 50000 100000 3 25000 75000 100000 0 50000 100000 100000 1 1 100000" method="generated"/>
                <test cmd="gen_ge 82341 100000 0 50000 51000 100000 1 50000 51000 100000 2 50000 51000 100000 3 50000 51000" method="generated"/>
                <test cmd="gen_ge 876 100000 0 23 23 100000 1 23 23 100000 2 23 23 100000 3 23 23" method="generated"/>
                <test cmd="gen_ge 98375 100000 0 1 100000 100000 1 1 100000 100000 2 1 100000 10 3 1 100000" method="generated"/>
                <test cmd="gen_ge 98 100000 0 1 100000 100000 1 1 100000 100000 2 1 100000 10 2 1 100000" method="generated"/>
                <test cmd="gen_ge 9 100000 0 1 100000 100000 1 1 100000 100000 2 1 100000 10 3 1 100000" method="generated"/>
                <test cmd="gen_ge 83457 100000 0 1 100000 100000 2 1 100000 5 1 1 100000 5 3 1 100000" method="generated"/>
                <test cmd="gen_ge 8345 100000 2 1 100000 100000 1 1 100000 5 0 1 100000 5 3 1 100000" method="generated"/>
                <test cmd="gen_ge 834 100000 0 1 100000 100000 3 1 100000 5 2 1 100000 5 1 1 100000" method="generated"/>
                <test cmd="gen_ge 8 100000 3 1 100000 100000 2 1 100000 5 1 1 100000 5 0 1 100000" method="generated"/>
                <test cmd="gen_ge 987234 100000 0 1 100000 100000 1 1 100000 100 2 1 100000 100 3 1 100000" method="generated"/>
                <test cmd="gen_ge 82736 100000 0 1 100000 1000 1 1 100000 100 2 1 100000 10 3 1 100000" method="generated"/>
            </tests>
        </testset>
    </judging>
    <files>
        <resources>
            <file path="files/testlib.h" type="h.g++"/>
            <file path="files/problem.tex"/>
        </resources>
        <executables>
            <executable>
                <source>
                    <file path="files/checker_ge.cpp" type="cpp.g++"/>
                </source>
                <binary>
                    <file path="files/checker_ge.exe" type="exe.win32"/>
                </binary>
            </executable>
            <executable>
                <source>
                    <file path="files/style_validator.cpp" type="cpp.g++"/>
                </source>
                <binary>
                    <file path="files/style_validator.exe" type="exe.win32"/>
                </binary>
            </executable>
            <executable>
                <source>
                    <file path="files/gen_ge.cpp" type="cpp.g++"/>
                </source>
                <binary>
                    <file path="files/gen_ge.exe" type="exe.win32"/>
                </binary>
            </executable>
        </executables>
    </files>
    <assets>
        <checker type="testlib">
            <source path="files/checker_ge.cpp" type="cpp.g++"/>
            <binary path="check.exe" type="exe.win32"/>
        </checker>
        <validator>
            <source path="files/style_validator.cpp" type="cpp.g++"/>
            <binary path="files/style_validator.exe" type="exe.win32"/>
        </validator>
        <solutions>
            <solution tag="time-limit-exceeded">
                <source path="solutions/style_simple.cpp" type="cpp.g++"/>
                <binary path="solutions/style_simple.exe" type="exe.win32"/>
            </solution>
            <solution tag="main">
                <source path="solutions/style_sf.cpp" type="cpp.g++"/>
                <binary path="solutions/style_sf.exe" type="exe.win32"/>
            </solution>
            <solution tag="accepted">
                <source path="solutions/style_ge.cpp" type="cpp.g++"/>
                <binary path="solutions/style_ge.exe" type="exe.win32"/>
            </solution>
            <solution tag="wrong-answer">
                <source path="solutions/style_greed.cpp" type="cpp.g++"/>
                <binary path="solutions/style_greed.exe" type="exe.win32"/>
            </solution>
        </solutions>
    </assets>
    <statements>
        <statement format="tex" language="english" path="statements/english/problem.tex" title="Смотрите русское условие!"/>
        <statement format="tex" language="russian" path="statements/russian/problem.tex" title="Стильная одежда"/>
    </statements>
    <properties>
        <property name="tests-wellformed" value="true"/>
    </properties>
    <tags>
        <tag value="binary search"/>
        <tag value="moscow team"/>
        <tag value="sort"/>
        <tag value="two pointers"/>
    </tags>
</problem>
