Run ID:132447

提交时间:2025-10-08 13:38:32

# 读取苹果高度 apples = list(map(int, input().split())) # 读取陶陶伸手高度 taotao_height = int(input()) # 计算陶陶加上板凳后的总高度 total_height = taotao_height + 30 # 计算能够摘到的苹果数量 count = 0 for apple in apples: if apple <= total_height: count += 1 print(count)