Run ID 作者 问题 语言 测评结果 时间 内存 代码长度 提交时间
55538 wangchenglin 陶陶摘苹果 Python3 通过 30 MS 3656 KB 218 2024-11-08 11:59:43

Tests(1/1):


apples=list(map(int,input().split())) reach_height = int(input()) bench_height = 30 total_reach_height = reach_height + bench_height count = sum(1 for apple in apples if apple<=total_reach_height) print(count)


测评信息: