#include<iostream>
#include<cmath>
using namespace std;
int main()
{
double x = 0, y = 0,t=0;
int nums = 0,n = 0;
cin >> n;
for (int i = 1; i <= n; i++)
{
cin >> x >> y >> nums;
t+= (sqrt(x * x + y * y) / 50) * 2 + 1.5 * nums;
}
cout << ceil(t) << endl;
}
为什么只有40啊!!!!