1153: 分段运算1
Memory Limit:128 MB
Time Limit:1.000 S
Judge Style:Text Compare
Creator:
Submit:17
Solved:11
Description
已知一个整数x,当x等于不同的数时使用不同的运算得出一个y。这个运算是:当0<=x<5时,y=x;x>=5时,y比x的两倍大1。
Input
一个整数x
Output
算出对应的y
Sample Input Copy
6
Sample Output Copy
13