用户输出
How can you sleep at your age?
系统信息
Exited with return code 0
编号 | 题目 | 状态 | 分数 | 总时间 | 内存 | 代码 / 答案文件 | 提交者 | 提交时间 |
---|---|---|---|---|---|---|---|---|
#116947 | #1463. [L1-1] 你是否清醒 | Accepted | 100 | 107 ms | 2836 K | Python 3 / 310 B | Hensenber | 2025-04-21 10:29:23 |
string = input()
a = int(string.split()[0])
b = int(string.split()[1])
if a == 8 and b == 0:
print("How can you sleep at your age?")
elif a == 16 and b == 0:
print('Good morning!')
elif (a == 8 and b > 0) or 8<a<16:
print("How can you sleep at your age?")
else:
print('Good morning!')
用户输出
How can you sleep at your age?
系统信息
Exited with return code 0
用户输出
How can you sleep at your age?
系统信息
Exited with return code 0
用户输出
How can you sleep at your age?
系统信息
Exited with return code 0
用户输出
How can you sleep at your age?
系统信息
Exited with return code 0