Distàncies (I) X93247


Statement
 

pdf   zip   main.py

Public test cases
  • Input

    0 0 100 100 90 90 80 80 20 20 70 70 50 50 30 30 40 40
    
    

    Output

    0 0 100 100 90 90 80 80 20 20 70 70 50 50 30 30 40 40 
    
    [28.28, 42.43, 56.57, 70.71, 98.99, 113.14, 127.28, 141.42]
    
  • Input

    24 15 25 16 44 23 25 87 55 75 22 18 5 70 45 11
    
    

    Output

    24 15 25 16 44 23 25 87 55 75 22 18 5 70 45 11 
    
    [1.41, 3.61, 21.38, 21.54, 58.19, 67.54, 72.01]
    
  • Information
    Author
    Language
    Catalan
    Official solutions
    Python
    User solutions
    Python