Submeter | Todas submissőes | Melhores | Voltar |
Problem hidden
NEXTODD - The next odd number |
Given an integer 1 <= N <= 10000,you have to print the next odd number.
Score is the length of your source.
Input
The input file consists of series of numbers one in each line.The input is terminated by EOF.
Output
The next odd number.
Example
Input:
5
2
6
17
Output:
7
3
7
19
PS:Take care about your fingers, do not use more than 100 bytes of code.
Adicionado por: | :(){ :|: & };: |
Data: | 2010-08-25 |
Tempo limite: | 1s |
Tamanho do fonte: | 100B |
Memory limit: | 1536MB |
Cluster: | Cube (Intel G860) |
Linguagem permitida: | Todas exceto: ASM64 CLOJURE ERL FSHARP NODEJS OBJC PERL6 PY_NBC SCALA TCL VB.NET |
Origem: | From a shortening contest. |