Classification of sequences (1) P69991


Statement
 

pdf   zip

thehtml

Write a program to tell if a sequence of integer numbers is uniform, strictly increasing, strictly decreasing, or none of those.

Input

Input consists of a sequence of, at least, two integer numbers.

Output

Your program must print “uniform”, “strictly increasing”, “strictly decreasing”, or “nothing” as required.

Public test cases
  • Input

    2 3 5 7
    

    Output

    strictly increasing
    
  • Input

    10 0 -5
    

    Output

    strictly decreasing
    
  • Input

    4 4
    

    Output

    uniform
    
  • Input

    1 2 4 4
    

    Output

    nothing
    
  • Information
    Author
    Salvador Roura
    Language
    English
    Translator
    Carlos Molina
    Original language
    Catalan
    Other languages
    Catalan
    Official solutions
    C++
    User solutions
    C++