ENG  RUSTimus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board

Discussion of Problem 1612. Tram Forum

alex_r To admins [2] // Problem 1612. Tram Forum 17 Jan 2013 18:30
Could you please check my submissions.

The accepted one (I actually copy-pasted it from this forum) gives wrong answer to the following data set:
tram
(only 4 symbols in input.txt file)
The output is "Bus driver".

My original solution (#4725054) gives "Tram driver" answer to the mentioned data set, but fails on test #6. Can you please give information what is wrong with this test?

Thank you.
Sandro (USU) Re: To admins [1] // Problem 1612. Tram Forum 18 Jan 2013 02:02
Last line of input data is always terminated with end of line character (it is the usual rule of Timus Online Judge), so this test is incorrect.
alex_r Re: To admins // Problem 1612. Tram Forum 18 Jan 2013 19:13
Ok, got this. So I assume the problem is on my side. Will try to find what is wrong