Uns consecutius X44444


Statement
 

pdf   zip

Public test cases
  • Input

    15
    8
    5
    1
    27
    1023
    

    Output

    4
    1
    1
    1
    2
    10
    
  • Information
    Author
    Salvador Roura
    Language
    Catalan
    Official solutions
    Unknown.
    User solutions