当前位置:网站首页>CCF access control system
CCF access control system
2022-06-12 04:34:00 【Python's path to becoming a God】
subject 
Ideas
This question is a very simple question for sending scores , You just need to record the number of occurrences each time and output them , Hash table is used here unordered_map To store .
Code
#include <iostream>
#include <unordered_map>
using namespace std;
int n;
int main() {
cin >> n;
getchar();
unordered_map<int, int>map;
int temp;
for (int i = 0; i < n; i++) {
cin>>temp;
map[temp]++;
cout << map[temp] << " ";
}
return 0;
}```
边栏推荐
- 调用提醒事项
- 2022 fusion welding and thermal cutting recurrent training question bank and simulation examination
- 动规(15)-最低通行费
- What are the black box test case design methods in software testing methods?
- Tasks in C #
- [wechat applet] the mobile terminal selects and publishes pictures
- 智能面板WiFi聯動技術,ESP32無線芯片模組,物聯網WiFi通信應用
- Mysql主从搭建与Django实现读写分离
- 【FPGA+GPS接收器】基于FPGA的双频GPS接收器详细设计介绍
- JS function and variable have the same name (function and variable parsing rules)
猜你喜欢
![[软件工具][原创]voc数据集类别名批量修改工具使用教程](/img/25/31d771c9770bb7f455f35e38672170.png)
[软件工具][原创]voc数据集类别名批量修改工具使用教程

Construction case of Expressway Precast Beam Yard (with scheme text)
![[C language] encapsulation interface (addition, subtraction, multiplication and division)](/img/8f/1351826a6f7e83ce90d32d7615adc1.png)
[C language] encapsulation interface (addition, subtraction, multiplication and division)

Introduction to distributed locks

树莓派4B使用Intel Movidius NCS 2来进行推断加速

Tasks in C #

The memory four area model of C language program

How to make datasets, train them into models and deploy them based on yolov5

SQL注入上传一句话木马(转)

1. Mx6ull learning notes (II) - uboot migration
随机推荐
Kinematic gauge (14) - Triangle optimal path problem
Epidemic data analysis platform work report [3] website deployment
L1-066 cat is liquid (5 points)
What is the difference between FOB, CIF and CFR?
动规(15)-最低通行费
WPF data binding (IV)
Find missing sequence numbers - SQL query to find missing sequence numbers
Oracle:decode function
疫情数据分析平台工作报告【6.5】疫情地图
eBPF系列学习(4)了解libbpf、CO-RE (Compile Once – Run Everywhe) | 使用go开发ebpf程序(云原生利器cilium ebpf )
Tasks in C #
Detailed explanation of software testing process
疫情数据分析平台工作报告【6】可视化绘图
leetcode797. 所有可能的路径(中等)
[Clickhouse column] user initialization of new library role
[fpga+gps receiver] detailed design introduction of dual frequency GPS receiver based on FPGA
图解 Apache SkyWalking UI 的使用
From science to startup
C# TaskFactory. Startnew method
[C language] analysis of variable essence