Time Is Gold X80001


Statement
 

pdf   zip

html
Public test cases
  • Input

    Bellvitge
    Hospital de Bellvitge
    

    Output

    Total time: 100 seconds
    Best path from Bellvitge to Hospital de Bellvitge:
    Bellvitge, Hospital de Bellvitge
    
  • Input

    Can Serra
    Tetuan
    

    Output

    Total time: 2108 seconds
    Best path from Can Serra to Tetuan:
    Can Serra, Florida, Torrassa, Santa Eulalia, Mercat Nou, Placa de Sants, Hostafrancs, Espanya, Rocafort, Urgell, Universitat, Passeig de Gracia, Tetuan
    
  • Input

    Urgell
    Clot
    

    Output

    Total time: 1354 seconds
    Best path from Urgell to Clot:
    Urgell, Universitat, Passeig de Gracia, Tetuan, Monumental, Sagrada Familia, Encants, Clot
    
  • Information
    Author
    HP CodeWars
    Language
    English
    Official solutions
    Python
    User solutions
    Python