Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
78393 彭士宝 18陶陶摘苹果 Python3 Accepted 32 MS 3776 KB 266 2024-06-19 20:40:20

Tests(10/10):


Code:

apples_heights = list(map(int, input().split())) taotao_reach_height = int(input()) taotao_max_height = taotao_reach_height + 30 count_apples = 0 for height in apples_heights: if height <= taotao_max_height: count_apples += 1 print(count_apples)