Settlers of CodeWars X48145


Statement
 

pdf   zip

html
Public test cases
  • Input

    2 6 12
    3 4 3 8
    5 9 6 11 10
    9 11 0 4
    5 10 8
    

    Output

    8 12
    
  • Input

    11 4 5
    10 5 11 9
    9 3 6 3 4
    6 2 0 8
    12 8 10
    

    Output

    9 19
    
  • Input

    10 2 0
    8 9 11 8
    12 5 6 9 4
    11 3 3 4
    5 10 6
    

    Output

    1 15
    7 23
    7 24
    12 15
    
  • Information
    Author
    HP Codewars BCN
    Language
    English
    Official solutions
    Python
    User solutions
    C++ Python