| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 78392 | 彭士宝 | 18陶陶摘苹果 | Python3 | Accepted | 43 MS | 3764 KB | 288 | 2024-06-19 20:39:16 |
# 读取输入数据 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)