+ 3
I think this prog will crash in some states.[solved]
Is there a testcase for crash? https://code.sololearn.com/c2roagu5gS55/?ref=app
5 Respostas
+ 1
Ahh there really is an error:
If there are more persons as tills....
Just convert
tills =[q.pop(0) for i in range(t)]
to
tills =[q.pop(0) if q else 0 for i in range(t)]
You can be proud of your toe!
+ 2
Alexander Thiem 😱😱
thats it!
+ 1
why do you think so?
+ 1
Alexander Thiem my left toe is aching.
Normally a save indicator for a bug.
+ 1
Oma Falk Ok, then there has to be a bug.