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

some tests
Posted by FrostCode 23 Dec 2013 23:24
Input:
trams trolleybuses trambus
bus
Output:
Bus driver

Input:
tram tramtrolleybus bus
Output:
Tram driver

Input:
trams trolleybus
trolleybus tram! tram.
Output:
Bus driver

Input:
bus bus tratrolleybus
trolleybu tra.
Output:
Bus driver
Re: some tests
Posted by Mewtwo 22 Jun 2016 01:50
FrostCode wrote 23 December 2013 23:24
Input:
trams trolleybuses trambus
bus
Output:
Bus driver

Input:
tram tramtrolleybus bus
Output:
Tram driver

Input:
trams trolleybus
trolleybus tram! tram.
Output:
Bus driver

Input:
bus bus tratrolleybus
trolleybu tra.
Output:
Bus driver



Thanks a lot... :)