Moderator: Board moderators
Zuberul wrote:I used modified floyd-warshall & managed a wrong ans.
please give me some I/O.
3 30
100 100 1
0 2 4 5 6 7 8 21 22 23 24 25 26 30
1 2 19 11 12 13 14 15 16 30
1 10 30
449

2 99
100 1
0 1 98 99
1 98

This information is enough. If it always takes a minute, we shouldn't worry about slow elevators at all.(for simplicity) the operation of switching an elevator on some floor always takes exactly a minute.



Users browsing this forum: No registered users and 0 guests