提交时间:2024-08-20 15:51:31
运行 ID: 169233
#include<bits/stdc++.h> int main(){ long long a=0, b=0, n, x, y; std::cin >> n; while(n--){ std::cin >> x >> y; a += x; b += y; a *= 10; b *= 10; } std::cout << a/10+b/10; }