Блог пользователя anuj_shah

Автор anuj_shah, история, 7 лет назад, По-английски

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

  • Проголосовать: нравится
  • +15
  • Проголосовать: не нравится

»
7 лет назад, # |
  Проголосовать: нравится +10 Проголосовать: не нравится

That's really strange. I was able to submit your map version without any problems (https://www.codechef.com/viewsolution/13980423). Maybe you should contact the Codechef team. Maybe they store the error log and can help.