首页
题库
训练
比赛
作业
讨论
评测记录
排名
登录
注册
Language
English
한국어
简体中文
正體中文
#1991. function
ID: 1991
传统题
1000ms
128MiB
尝试: 0
已通过: 0
难度: (无)
上传者:
刘巴特
function
说明
There is a function y=f(x), and the formula is as follow:
y={ x x<1
| 2x-1 1<=x<10
\ 3x-11 x>=10
pease write a program, where the input is x, and the output is y
输入格式
one integer, named x
输出格式
one integer, y, which is calculated by the formula defined above
14
31
提示
登录后递交
讨论 (0)
题解 (1)
文件
统计
还没有账户?
注册一个 Hydro 通用账户,您就可以在我们提供的所有在线评测服务上提交代码、参与讨论。
现在注册
关闭
登录
使用您的 Hydro 通用账户
用户名
密码
记住我
忘记密码或者用户名?