Transparency for Dense Scatterplots
Fernbrook Analytics plots tens of thousands of records on one panel and the middle turns into a solid block: a thousand overlapping dots look exactly like ten. Making each dot partly see-through fixes the look, but not the underlying problem, so the panel is always published with the plain averages of both measurements printed beneath it as an anchor.
Task: Print the average of each measurement.
Input
The first line holds one integer n, the number of records. Each of the next n lines holds that record's two measurements, separated by a single space.
Output
One line holding two numbers separated by a single space: the average of the first measurement, then the average of the second. Each carries exactly two decimal places.
Example:
Input:
3
10 100
20 200
30 300
Output:
20.00 200.00
Sign in to solve this problem
Reading problems is free for everyone — solving them (Run, Submit, and tracking what you've solved) needs an account.
Sign in