80分,测试了大量数据,都显示正确结果。求解20分咋错的
查看原帖
80分,测试了大量数据,都显示正确结果。求解20分咋错的
665121
Create321417672楼主2022/1/28 11:41
AppHeight = map(int,input().split())
TTHeight = int(input())
count = 0
if 100<TTHeight<120:
    for item in AppHeight:
        if 100<=item<=200:
            if TTHeight+30>=item:
                count+=1
print(count)



2022/1/28 11:41
加载中...