Monster Slayer X43831


Statement
 

pdf   zip

html
Public test cases
  • Input

    5
    Earth Golem
    Ice Troll
    Ice Dragon
    Earth Demon
    Ice Demon
    

    Output

    Initial equipment: Ice
    Earth Golem
    Ice Troll
    Ice Dragon
    Earth Demon
    Changing to Fire equipment
    Ice Demon
    
  • Input

    5
    Fire Dragon
    Ice Dragon
    Fire Dragon
    Ice Dragon
    Fire Dragon
    

    Output

    Initial equipment: Fire
    Fire Dragon
    Ice Dragon
    Fire Dragon
    Ice Dragon
    Fire Dragon
    
  • Information
    Author
    HP CodeWars
    Language
    English
    Official solutions
    C++
    User solutions
    C++ Python