Page 1 of 1
10362 - Trains
Posted: Fri Nov 22, 2002 12:30 pm
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

Re: 10362 Trains. About output.
Posted: Sun Nov 24, 2002 3:59 am
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

Posted: Sat Jan 04, 2003 3:14 pm
by lrem
Could you support me with some more inputs? I can't find the cases i got WA for
