poj爬虫中没有判断waiting,导致归为了RE

This commit is contained in:
virusdefender 2016-04-23 15:35:50 +08:00
parent 295d72ff95
commit e73903a934
No known key found for this signature in database
GPG Key ID: 1686FB5677979E61

View File

@ -130,6 +130,8 @@ class PojRobot(Robot):
result = Result.compile_error
elif code == "System Error":
result = Result.system_error
elif code == "Waiting":
result = Result.waiting
else:
result = Result.runtime_error