n = int(input())
num = 0
for i in range(n):
w,score = map(int,input().split())
num = num + w * score
print(max(0,num))
CCF python 期末预测之安全指数
最新推荐文章于 2026-01-04 21:21:17 发布
n = int(input())
num = 0
for i in range(n):
w,score = map(int,input().split())
num = num + w * score
print(max(0,num))
2648
1万+
1612
865
734

被折叠的 条评论
为什么被折叠?