当前位置:网站首页>Pat grade a 1041 be unique
Pat grade a 1041 be unique
2022-07-24 03:45:00 【IX. is it a non random title】
#include<iostream>
#include<vector>
#include<map>
#include<bits/stdc++.h>
using namespace std;
int main(void){
string s, s0, sub, sk;
int i, j, k, m, n;
cin>>m;
vector<int> v;
map<int, int> mp;
for(i = 0; i < m; i++){
cin>>n;
v.push_back(n);
mp[n] += 1;
}
j = -999;
for(i = 0; i < m; i++){
if(mp[v[i]]==1){
cout<<v[i];
j = 999;
return 0;
}
}
cout<<"None";
return 0;
}边栏推荐
- 监听div的滚动事件 @scroll
- [super complete sorting] Cisco and Huawei order comparison memo, take it away without thanks! Anytime, anywhere
- Redis transaction learning
- Redis
- Istio architecture extension mechanism
- Leetcode-382. random nodes of linked list
- IO流分类整理
- 于最rs]在下面指发送到远程大的返回结构推境
- [wepy2.0] installation
- Emqx v4.4.5 Publishing: new exclusive subscriptions and mqtt 5.0 publishing attribute support
猜你喜欢

RTOS内功修炼记(十) | 深度解析RTOS内核上下文切换机制

Configure IPv6 over IP manual tunnel using routing protocol

PAT甲级 1040 Longest Symmetric String

Developers share mindspire Lite experience, one click image segmentation

Realize the communication before two pages (using localstorage)
![[JS reverse hundred examples] a public resource trading network, reverse analysis of announcement URL parameters](/img/0b/3645a0a8ec677f96427b35bd371e7e.png)
[JS reverse hundred examples] a public resource trading network, reverse analysis of announcement URL parameters

An in-depth explanation of CAS is necessary for interview practice

svg图片颜色的修改 没有花里胡哨

Application of motion capture in automatic control field

Outlook client outlook.com mailbox setting method
随机推荐
RTOS internal skill cultivation (10) | in depth analysis of RTOS kernel context switching mechanism
Y74. Chapter IV Prometheus large factory monitoring system and practice -- Introduction to promql and monitoring pod resources (V)
Web3 traffic aggregation platform starfish OS gives players a new paradigm experience of metauniverse
Redis transaction learning
SqlServer 备份还原
会话技术相关
力扣(LeetCode)204. 计数质数(2022.07.23)
leetcode hot 100(刷題篇8)(232/88/451/offer10/offer22/344/)
Summary of Zhang Yu's 30 lectures on Advanced Mathematics
Cache component status when Vue components are switched, that is, dynamic components keep alive dynamic components and asynchronous components
Expressions régulières \ \ B \ \ b compréhension de l'appariement des limites des mots
Learning summary | truly record what mindspire two-day training camp can bring to you (1)!
Bet on the whole scene, what is the odds of glory?
Conteneur STL set
[JS reverse hundred examples] a public resource trading network, reverse analysis of announcement URL parameters
The progress in the stack will consume functions that cannot meet the needs of the enterprise. We are committed to
RTOS内功修炼记(十) | 深度解析RTOS内核上下文切换机制
Anchor point and anchor frame of target detection
STL set容器
三菱转以太网模块远创智控YC8000-FX 连接 MCGS操作方法
https://github.com/ZouJiu1/PAT