HIEU-OJ
Home
ProblemSet
Contest
Status
Ranklist
F.A.Qs
推荐题单
ACM集训队
Login
1353: 比比谁年长(单测试用例、中文输出)
Memory Limit:128 MB
Time Limit:1.000 S
Judge Style:Text Compare
Creator:
Submit:38
Solved:24
Submit
Submit Record
Statistics
Description
给定出甲乙两人的年龄,请编写程序确定谁比谁年长。
不允许普通用户打印题目,请教师登录后使用。如有疑问请联系管理员!
Input
输入中有2个整数分别表示甲、乙的年龄。
Output
如果甲比乙年龄大,则输出“甲比乙年长”;如果年龄相同则输出“甲乙同龄”;如果甲比乙年龄小,则输出“乙比甲年长”。
Sample Input
Copy
18 17
Sample Output
Copy
甲比乙年长
Source/Category
语言基础
分支结构
Submit
Submit Record
Statistics