1128: 课程平均分
import java.util.Scanner;
public class Main {
static Scanner cin = new Scanner(System.in);static double [][]a = new double[1010][11];public static void main(String[] args) {
int m=cin.nextInt();int n=cin.nextInt();for(int i=1;i<=m;i++)for(int j=1;j<=n;j++)a[i][j]=cin.nextDouble();for(int j=1;j<=n;j++){
double sum=0;for(int i=1;i<=m;i++) sum+=a[i][j];System.out.printf("%.2f ",sum/m);}}
}