简单题目,没啥好说
#include<iostream>
#include<bits/stdc++.h>
#include<cstdio>
using namespace std;
int A[258]={0};
int n, m, L;
int main()
{
cin >> n >> m >> L;
for (int i = 0; i < n*m; i++){
int x;
scanf("%d", &x);
A[x]++;
}
for (int i = 0; i < L; i++){
printf("%d ", A[i]);
}
return 0;
}
标签:include,int,202104,++,直方图,灰度,CCF
From: https://www.cnblogs.com/understanding-friends/p/16639034.html