#include <bits/stdc++.h>
using namespace std;
int main()
{
int n, p;
double x, y;
cin >> n;
double t = 0;
for (int i = 1; i <= n; i++){
cin >> x >> y >> p;
double z = sqrt(x * x + y * y);
t += 2 * z / 50 + 1.5 * p;
}
cout << ceil(t);
return 0;
}
c++救援
最新推荐文章于 2024-04-18 21:33:35 发布