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 期末预测之安全指数
最新推荐文章于 2025-12-03 12:28:21 发布
n = int(input())
num = 0
for i in range(n):
w,score = map(int,input().split())
num = num + w * score
print(max(0,num))
2605
1万+
1604

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