0

EOFError

Why doesn't loop "for" work? I don't understand. I submit my first "input" and first part of code works, but then EOFError appears. Can someone help me with this problem? https://code.sololearn.com/c0DDdpVw4RhC/?ref=app

6th Jun 2020, 1:48 PM
Алексей Носков
Алексей Носков - avatar
2 Antworten
+ 3
In SoloLearn you have to provide all the input needed by the program, in one go, with each input separated by a newline: Try: 200 120
6th Jun 2020, 2:11 PM
Kuba Siekierzyński
Kuba Siekierzyński - avatar
+ 1
Oh, yes, great thanks to you. I thought I made some stupid mistake 😂
6th Jun 2020, 3:13 PM
Алексей Носков
Алексей Носков - avatar