@echo off
for %%i in (??.png *.exe *.~dpr *.dof *.dsk *.cfg *.in *.out *.a *.obj ?? *.class *.log) do del %%i

for %%i in (..) do set problem_name=%%~ni
for %%i in (..\%problem_name%_*.*) do del %%~nxi
del ..\check.exe
del ..\Check.class
