Run ID:78392

提交时间: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)