Hard
Broadcasting
Read r, c and an r×c grid of marks. Subtract each column's mean from that column (broadcasting) and print the result rounded to 1 decimal, one row per line.
Input
r c, then r lines.
Output
r lines.
Sample 1
Input
2 2 1 2 3 4
Output
-1.0 -1.0 1.0 1.0
Sample 2
Input
3 1 10 20 30
Output
-10.0 0.0 10.0
Output appears here