Toggle navigation
HUSTOJ
F.A.Qs
Web Board
ProblemSet
Source/Category
Status
Ranklist
Contest
[
ProblemSet
Status
Ranklist
OI Ranklist
Statistics
]
Recent
Login
Problem L: 根据输入的单个字符显示输出
Problem L: 根据输入的单个字符显示输出
Time Limit:
1 Sec
Memory Limit:
128 MB
Submit:
967
Solved:
462
[
Submit
] [
Status
] [
Web Board
] [Creator:
]
Description
编写程序,从键盘输入一个字符,当输入的字符为“1”或“2”或“3”时,分别显示“Yes”、“No”、“Cancel”,输入其他字符时显示“Illegal!”。
Sample Input
k
Sample Output
Illegal!