Sumar un X33871


Statement
 

pdf   zip

Escriu un programa que donat un nombre @x@ retorni per pantalla @x+1@

Entrada

Jutge.org introduirà un nombre enter.

Sortida

La sortida del programa haurà de ser un nombre enter.

Public test cases
  • Input

    1
    

    Output

    2
    
  • Input

    -1
    

    Output

    0
    
  • Input

    0
    

    Output

    1
    
  • Input

    2
    

    Output

    3
    
  • Information
    Author
    Héctor Barriga
    Language
    Catalan
    Other languages
    English
    Official solutions
    Python
    User solutions
    Python