当前位置:网站首页>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;
}```
边栏推荐
- C# Task. Waitall method
- Epidemic data analysis platform work report [2] interface API
- D1 哪吒开发板 上电记录
- leetcode 205. Isomorphic Strings
- Things to challenge
- In the era of smart retail, Weimeng reshapes the value of "shopping guide"
- AI and logistics Patent
- 图解 Apache SkyWalking UI 的使用
- [official testerhome] MTSC 2021 Shanghai and Shenzhen PPT download addresses
- QT experiment - gold coin flipping games
猜你喜欢

D1 Nezha development board power on record

【FPGA+FFT】基于FPGA的FFT频率计设计与实现

疫情数据分析平台工作报告【1】数据采集

【C语言】封装接口(加减乘除)

DS18B20 digital thermometer (I) electrical characteristics, power supply and wiring mode

AI and logistics Patent

MFC General dialog color dialog
![[C language] analysis of variable essence](/img/b4/13a5800f2c960ec590c9f7480b09d0.png)
[C language] analysis of variable essence
![[FPGA chaos] implementation of FPGA based chaotic system Verilog](/img/c0/cda4644168264b7531b67ef16e801a.png)
[FPGA chaos] implementation of FPGA based chaotic system Verilog

1. Mx6ull learning notes (II) - uboot migration
随机推荐
[automation] generate xlsx report based on openstack automated patrol deployed by kolla
Raspberry pie 4B uses Intel movidius NCS 2 for inference acceleration
[SC] OpenService FAILED 5: Access is denied.
How to make datasets, train them into models and deploy them based on yolov5
Let me tell you the benefits of code refactoring
[software tool] [original] tutorial on using VOC dataset class alias batch modification tool
Enterprise Architect v16
What is the difference between FOB, CIF and CFR?
[wechat applet] the mobile terminal selects and publishes pictures
Oracle paging query ~~rownum (line number)
Work report of epidemic data analysis platform [6] visual drawing
[软件工具][原创]voc数据集类别名批量修改工具使用教程
後續版本是否會支持代碼塊搜索高亮顯示
[Clickhouse column] user initialization of new library role
Encapsulation manuelle d'un foreach et d'une carte
如何制作数据集并基于yolov5训练成模型并部署
【高效】最强开发工具Ctool编译踩坑
疫情数据分析平台工作报告【3】网站部署
Question for the 3D printing lattice?
Sustainable service business models