先写一个.txt,将以下代码copy进去,而后将.txt改成.bat;之后将自己cpp.exe文件放在同目录;然后写一个enter文件;而后将样例copy在同目录,运行bat文件即可。
@echo off
copy "match.in" "match2.in" >nul
echo Test Case: 1
time<enter
"match.exe"
time<enter
fc "match.out" "match2.out" /W
pause
del "match.in"
del "match.out"
echo.
xkr我男神