当前位置:网站首页>Ccf-csp 202104-1 gray histogram 100 points
Ccf-csp 202104-1 gray histogram 100 points
2022-06-09 02:43:00 【Confident little screw】
Original link :CCF-CSP 202104-1 Gray histogram 
#include <bits/stdc++.h>
using namespace std;
#define ll long long
int a[510][510];
int main()
{
std::ios::sync_with_stdio(false);
cin.tie(0); cout.tie(0);
int n,m,l;
cin>>n>>m>>l;
map<int,int> mp;
for(int i=0;i<n;i++)
{
for(int j=0;j<m;j++)
{
cin>>a[i][j];
mp[a[i][j]]++;
}
}
for(int i=0;i<l;i++)
cout<<mp[i]<<" ";
return 0;
}
边栏推荐
- Basic method of missing data filling (1) -- k-nearest neighbors (KNN) filling
- Knowledge points of 2022 information security engineer examination: configuration and use of network security products
- Go to MFC from Win32
- Range of acwing 789 numbers
- pkg-config --modversion opencvPackage opencv was not found in the pkg-config search path. Perhaps y
- The high-end is weak. Can Yanghe still keep the third place in the industry?
- toggleRowSelection()失效的2個重要影響因素
- 说说你印象中比较深刻的 Bug
- Docker安装Redis
- Fight the high vision medical service of HKEx again, the gospel of short-sighted partners?
猜你喜欢

Go Technology Daily (2022 - 06 - 07) - go programer Development Efficiency God Summary

Unity中,继承MonoBehaviour游戏对象的生命周期

Tiflash source code reading (III) design and implementation analysis of tiflash deltatree storage engine - Part 1

进程与线程

Discussion on MLIR Technology
![(10.3) [steganography mitigation] steganography protection, steganography interference and steganography detection](/img/f3/a2c3445d1a972eeda9b21575ee7f58.png)
(10.3) [steganography mitigation] steganography protection, steganography interference and steganography detection

蓝桥杯_青蛙的约会_扩展欧几里得

20. Class E power amplifier design for ads usage record (Part 1)

Redis cluster setup

Modbus RTU communication routine between Delta Eh3 series PLC and thermostat
随机推荐
vins feature_ track
Ccf-csp 201409-3 string matching
Leetcode 1442. Triple number prefix and + XOR forming two XOR equal arrays
Modbus RTU communication routine between Delta Eh3 series PLC and thermostat
Fight the high vision medical service of HKEx again, the gospel of short-sighted partners?
[MySQL from Xiaobai to expert] Part 6: transaction and JDBC programming in MySQL
Datetimeformatter date formatting and parsing
How to implement the project practice of user registration, login and logout in flask + MySQL
Acwing 791 high precision addition
Exclusive application for consumer finance license by Weixin Jinke failed
C# 流程控制语句
杰理之SPI 主机如何配置驱动程序?【篇】
进程与线程
The high-end is weak. Can Yanghe still keep the third place in the industry?
【HomeAssistant外网访问(cpolar)】
Jedis tool class, adapting to a single redis and redis cluster
The difference between new and newinstance() for creating objects
How to modify ad_ Key connected pin? [chapter]
Leetcode 1352. Product of the last K numbers
说说你印象中比较深刻的 Bug