80分,测试了大量数据,都显示正确结果。求解20分咋错的

P1046 [NOIP2005 普及组] 陶陶摘苹果

Create321417672 @ 2022-01-28 11:41:49

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)

by F_C_ @ 2022-03-12 19:07:51

洛谷里最后几个测试点的数据一般很变态 建议下载下测试点数据


by F_C_ @ 2022-03-12 19:08:52

虽然你用的什么语言我不知道


by zhanchengwen @ 2022-05-07 16:57:44

这是python吧。python我看不懂,先溜了


by yuguiyyds @ 2022-07-12 09:40:43

@Create321417672 100<=TTHeight<=120


|