Toggle navigation
HUSTOJ
F.A.Qs
Web Board
ProblemSet
Source/Category
Status
Ranklist
Contest
Recent
Login
Problem1692--找两个数中最大者
1692: 找两个数中最大者
Time Limit:
1 Sec
Memory Limit:
128 MB
Submit:
0
Solved:
0
[
Submit
] [
Status
] [
Web Board
] [Creator:
]
Description
本题要求对两个整数a和b,输出其中较大的数。 函数接口定义: int max( int a, int b ); 其中a和b是用户传入的参数,函数返回的是两者中较大的数。 裁判测试程序样例: #include
int max( int a, int b ); int main() { int a, b; scanf(
Input
其中a和b是用户传入的参数
Output
函数返回的是两者中较大的数
Sample Input
Copy
-5 8
Sample Output
Copy
max = 8
Source/Category
198