Car race X48890


Statement
 

pdf   zip

html
Public test cases
  • Input

    Ann Beth Carol Dave Ethan
    Ethan overtakes Dave
    Carol overtakes Beth
    Carol overtakes Ann
    Beth overtakes Ann
    Dave overtakes Ethan
    

    Output

    Carol
    Beth
    Ann
    Dave
    Ethan
    
  • Information
    Author
    HP Codewars BCN
    Language
    English
    Official solutions
    C++ Python
    User solutions
    C++ Python