#描述#
有一个函数y满足:x ( x < 1 );2x – 1( 1≤ x < 10 );3x – 11 ( x ≥ 10 )。
写一个程序,输入x,输出y。
#格式#
##输入格式##
输入多个数据
##输出格式##
输出数据占4个字符宽。
5个数据一组占一行。
#样例1#
##样例输入1##
1 5 10 15 20 21
##样例输出1##
1 9 19 34 49
52
#限制#
1000ms
262144KB
#提示#
#来源#
By signing up a OPS universal account, you can submit code and join discussions in all online judging services provided by us.