B3887
查看原帖
B3887
1290368
Zhengliu楼主2024/3/12 19:43

96分,求大佬改一下 list=list(map(int,input().split())) w,e,q=0,0,0 for i in list: if i>=118: print(10) q+=1 break if 63<=i<118: e+=1 if 41<=i<63: w+=1

if e >= 4 and q==0: print(8) elif w >= 4 and q==0: print(3) elif e<4 and w<4 and q==0: print(1)

2024/3/12 19:43
加载中...