Help needed in Python submissions

Revision en1, by ScienceGuy, 2017-07-05 20:28:26

Hi, I just began using Python 3.6.1 for Codeforces problems. Codeforces allows us to submit code in Python 3.5.2, so I wonder if my solutions in 3.6.1 might still get accepted. I solved this easy problem: http://mirror.codeforces.com/gym/101341/problem/M
Please, tell me what I'm doing wrong, here is my code (which runs well on my computer, but gets runtime error when I submit): https://pastebin.com/NPs7HbkK

Tags python 3, io

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English ScienceGuy 2017-07-05 20:28:26 453 Initial revision (published)