Help in UVA-11635 Hotel Booking

Revision en1, by decoder123, 2015-12-30 06:45:23

I have tried these problem.(link). But I am stuck still now after getting the hint (Dijkstra+ BFS). Can anybody please provide me with an editorial(algorithm)? What do we need to do to solve this problem?

I mean it would be better "if some one provides me with the thinking process". Thanks.

Tags graph, dijkstra, bfs, uva


  Rev. Lang. By When Δ Comment
en1 English decoder123 2015-12-30 06:45:23 433 Initial revision (published)