RE on online system

0
0

Hi. When doing one of the problems, I tried the inputs given in the example using my local editor and it gave me the correct output i.e. the same as the output in the example. But when I copied the code from my local editor to the online one and submitted it, the notice said I had a run time error. What would be the problem? My local editor uses Python2 as the interpreter. Thanks.

1 answer(s)

0

I checked your RE solution (1114851). I don't think your program reads from the input correctly.
The input should contain N+1 lines but your program reads from the input as it has a single line.

write answer 切换为英文 切换为中文


转发分享