题解
def change(coordinate, changeLi):
for i in range(n):
coordinate[0] += changeLi[i][0]
coordinate[1] += changeLi[i][1]
print('{0} {1}'.format(coordinate[0], coordinate[1]))
n, m = map(int, input().split())
changeLi = [list(map(int, input().split())) for i in range(n)]
for i in range(m):
coordinate = list(map(int, input().split()))
change(coordinate, changeLi)
- 非常简单,不必解释