标签:bsp clu show size http ++ sbo while namespace
///@author Sycamore, ZJNU; ///@date 8/4/2017 #include<bits/stdc++.h> using namespace std; int main() { ios::sync_with_stdio(false); int t; while (cin >> t&&t) while (t--) { double a, b, c, d, e, f; cin >> a >> b >> c >> d >> e >> f; cout << fixed << setprecision(1) << (a + c + e) / 3 << ‘ ‘ << fixed << setprecision(1) << (b + d + f) / 3 << ‘\n‘; } return 0; }
HDU 2105: The Center of Gravity
标签:bsp clu show size http ++ sbo while namespace
原文地址:http://www.cnblogs.com/zjnu/p/7295032.html