Closed fearlessxjdx closed 6 years ago
像是cyraon有bug? 抛出了一个CompareMismatch之后就没有捕获了
是啊,好奇怪 看了下Compare.py文件 好像也没有看到文档提到的写入文件操作.
Doc might be outdated
@lin714093880 是否可以提供一个持续对拍,并将不同结果写入到其他文件的demo?
Sorry, maybe I am to blame for this. I will look into it. 😮
will fix
these bugs have fixed on the latest version.
@fearlessxjdx if you want to keep running process, you must code like this
...
try:
input_io = IO()
input_io.input_writeln(randint(1,100))
Compare.program("a.exe", "b.exe", input=input_io, std_program="std.exe")
except:
# ....
....
我按照说明文档中提到的
进行了操作,但是并没有出现a.exe.out, std.out, error_input.in三个文件,只有一个异常