Python map(int, raw_input().split()) problem

Правка en2, от anuj_shah, 2017-06-02 09:17:03

In this question of codechef when I use map(int, raw_input().split()) it generated Runtime Error (NZEC) and when I used [int(x) for x in raw_input().split()] it worked like charm. Could anyone help me with this?

My solution which worked correctly: Code Runtime Error: Code

Теги codechef snackdown 2017, python, runtime error

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en2 Английский anuj_shah 2017-06-02 09:17:03 174 Tiny change: '/13945267)\nRuntime ' -> '/13945267) \\\nRuntime ' (published)
en1 Английский anuj_shah 2017-06-02 09:11:09 367 Initial revision (saved to drafts)