javac gen_parade.java
pushd ..
javac parade_sm.java parade_sm_greed2.java 
popd
:st
java -ea -Xmx4G -Xss1G gen_parade stress
java -cp .. parade_sm
move parade.out parade.ans
java -cp .. parade_sm_greed2
java -Xmx256M -Xss64M -cp ../../../lib/testlib4j.jar;../Check.jar ru.ifmo.testlib.CheckerFramework Check parade.in parade.out parade.ans
if errorlevel 1 goto end
rem fc parade.out impossible
rem if errorlevel 1 goto end
goto st
:end