v1sha1's blog

By v1sha1, history, 6 years ago, In English

http://codeforces.me/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://codeforces.me/contest/118/submission/41963079

http://codeforces.me/contest/118/submission/41929441

  • Vote: I like it
  • 0
  • Vote: I do not like it