蹲
by Ethan231230 @ 2024-03-03 20:57:33
应该是漏了一种判断最不高兴的天数
by LLgl666 @ 2024-03-04 22:45:51
@[LLgl666](/user/1290786) t = []
s=[]
for i in range(7):
t1,t2 = 0,0
t1,t2 = map(int,input().split())
t.append(t1 + t2)
for i in range(len(t)):
s.append(t[i])
a=max(s)
if a<=8:
print(0)
if a>8:
h=s.index(max(s))#如果有多个最大值,返回最小的索引
print(h+1)
by LLgl666 @ 2024-03-05 21:46:45