80分最后一个怎么WA了
查看原帖
80分最后一个怎么WA了
749028
QAQ5楼主2024/7/26 07:44
rown = int(input())
result = []
for count in range(0,rown):
    row = input().split(' ')
    studentScore = int(row[1])
    moralScore = int(row[2])
    twoAdd = studentScore + moralScore
    twoScore = studentScore * 0.7 + moralScore * 0.3
    if twoAdd > 140 and not (twoScore < 80):
        result.append('Excellent')
    else:
        result.append('Not excellent')
for r in result:
    print(r)
2024/7/26 07:44
加载中...