← Back to List
14730번: 謎紛芥索紀 (Small) ↗
Solutions
Python 3
89 B | 89 chars
S=0 for i in range(int(input())): a,b=map(int,input().split(" ")) S+=a*b print(S)