We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
You can continue the conversation there. Go to discussion →
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
以 nn 这次作业为例,若我将 nn.py 的内容改为
nn
nn.py
import time time.sleep(2)
并运行 grade.py ,期望得到的报错信息是
grade.py
Testcase data/in_1.hdf5: Time limit exceeded Testcase data/in_2.hdf5: Time limit exceeded ... Total Points: 0/100
实际得到的报错信息是
Testcase data/in_1.hdf5: No output file found Testcase data/in_2.hdf5: No output file found ... Total Points: 0/100
The text was updated successfully, but these errors were encountered:
同样以 nn 这次作业为例,问题似乎出现在 grade.py 的 46 行左右,在
while p.poll() is None: if time.time() - start_time > 1: ... else: ...
while 内部似乎缺少了 break ,使 else 部分必然运行 在 if 语句内部最后添加 break 似乎可以解决问题
while
break
else
if
Sorry, something went wrong.
hgnb!👍
fixed
No branches or pull requests
以
nn
这次作业为例,若我将nn.py
的内容改为并运行
grade.py
,期望得到的报错信息是实际得到的报错信息是
The text was updated successfully, but these errors were encountered: