import java.util.*;
public class Main{
public static void main(String[] args){
Scanner input = new Scanner(System.in);
int n = input.nextInt();
int m = input.nextInt();
int l = input.nextInt();
int[] h = new int[l];
int[][] a = new int[n][m];
for(int i =0;i<n;i++){
for(int j=0;j<m;j++){
a[i][j] = input.nextInt();
int c = a[i][j];
if(c<l)
h[c]++;
}
}
for(int i =0;i<l;i++)
System.out.print(h[i]+" ");
}
}
21-04-01(灰度直方图)
猜你喜欢
转载自blog.csdn.net/qq_51985653/article/details/120858533
今日推荐
周排行