10362 - Trains

All about problems in Volume 103. If there is a thread about your problem, please use it. If not, create one with its number in the subject.

Moderator: Board moderators

Post Reply
Kamp
New poster
Posts: 18
Joined: Tue Mar 05, 2002 2:00 am
Location: Poland (3-city)
Contact:

10362 - Trains

Post by Kamp »

I have got question about the output. What will be the answer for this input:
1
4
3 08.00 AAA 01.00 BBB 00.30 CCC
2 07.00 AAA 01.00 BBB
2 08.00 BBB 01.00 CCC
3 10.00 DDD 00.01 AAA 00.01 CCC
AAA CCC
Thx in advance :)
gvcormac
Problemsetter & Reviewer
Posts: 194
Joined: Fri Mar 15, 2002 2:00 am
Contact:

Re: 10362 Trains. About output.

Post by gvcormac »

First of all, the input should have colons (:) not periods (.)

If you make that change, the output is:

07:00 2:00
08:00 1:30
10:01 0:01

Kamp wrote:I have got question about the output. What will be the answer for this input:
1
4
3 08.00 AAA 01.00 BBB 00.30 CCC
2 07.00 AAA 01.00 BBB
2 08.00 BBB 01.00 CCC
3 10.00 DDD 00.01 AAA 00.01 CCC
AAA CCC
Thx in advance :)
lrem
New poster
Posts: 2
Joined: Sat Jan 04, 2003 3:08 pm
Location: Poland 3-city

Post by lrem »

Could you support me with some more inputs? I can't find the cases i got WA for :evil:
If I want culture I eat yogurt
Post Reply

Return to “Volume 103 (10300-10399)”