Toggle navigation
HUSTOJ
F.A.Qs
Web Board
ProblemSet
Source/Category
Status
Ranklist
Contest
Recent
Login
Problem1536--C语言程序设计教程(第三版)课后习题5.5
1536: C语言程序设计教程(第三版)课后习题5.5
Time Limit:
1 Sec
Memory Limit:
128 MB
Submit:
4
Solved:
3
[
Submit
] [
Status
] [
Web Board
] [Creator:
]
Description
有一个函数
y={ x x<1
| 2x-1 1<=x<10
\ 3x-11 x>=10 写一段程序,输入x,输出y
Input
一个数x
Output
一个数y
Sample Input
Copy
14
Sample Output
Copy
31
Source/Category
7