Sorting P82924


Statement
 

pdf   zip

Public test cases
  • Input

    15 20 0
    1 2 3 4 5 6 7 8 0
    5 5 5 3 3 3 7 7 7 0
    

    Output

    20
    15
    2 4 6 8
    7 5 3 1
    
    7 7 7 5 5 5 3 3 3
    
  • Information
    Author
    Salvador Roura
    Language
    English
    Translator
    Carlos Molina
    Original language
    Catalan
    Other languages
    Catalan
    Official solutions
    C++
    User solutions
    C++ Haskell