Estadístiques d'una seqüència d'enters amb esborrat X20684


Statement
 

pdf   zip   tar

The HTML version of the statement is not available.

Public test cases
  • Input

    -1 1
    -1 2
    -1 3
    -2 3
    -2 2
    -2 1
    -2 34
    0 0
    

    Output

    1 1 1
    1 2 1.5
    1 3 2
    1 2 1.5
    1 1 1
    0
    0
    
  • Input

    -1 1
    -1 1
    -1 3
    -1 2
    -1 1
    -2 1
    -2 2
    -2 3
    -2 34
    0 0
    

    Output

    1 1 1
    1 1 1
    1 3 1.66667
    1 3 1.75
    1 3 1.6
    1 3 1.75
    1 3 1.66667
    1 1 1
    1 1 1
    
  • Information
    Author
    J. Baixeries (adaptador) Borja Valles (responsable)
    Language
    Catalan
    Official solutions
    C++
    User solutions
    C++