P0001. Upward numbers P32149


Statement
 

pdf   zip

Public test cases
  • Input

    1234 4321 4554 2345 8901 123 6784
    

    Output

    YES
    
  • Input

    
            
                                

    Output

    NO
    
  • Input

    90 0
    

    Output

    YES
    
  • Information
    Author
    Professorat de P1
    Language
    English
    Translator
    Carlos Molina
    Original language
    Catalan
    Other languages
    Catalan
    Official solutions
    C++
    User solutions
    C++ Java Python