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

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

http://mirror.codeforces.com/contest/118/problem/B

how can I remove the extra space at the end of each line in python?

I tried in two ways but both of them are producing the wrong result due to extra space at the end.

http://mirror.codeforces.com/contest/118/submission/41963079

http://mirror.codeforces.com/contest/118/submission/41929441

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