国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁 > 學院 > 開發設計 > 正文

1041. Be Unique (20)

2019-11-11 04:16:54
字體:
來源:轉載
供稿:網友
#include<iostream>#include<algorithm>#include<vector>#include<map> #include<string>#include<set>using namespace std;const int N = 10010;int num[N] = {0}; vector<int> all_num;int main(){	int n ;	cin>>n;	for(int i = 0; i < n; i++){		int temp;		scanf("%d",&temp);		num[temp]++;		all_num.push_back(temp);	}	for(int i = 0; i < n; i++){		if(num[all_num[i]] == 1){			cout<<all_num[i];			return 0;		}	}	cout<<"None";	return 0;}
發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表
主站蜘蛛池模板: 安远县| 彩票| 南雄市| 鄂托克前旗| 图们市| 肃南| 郸城县| 大悟县| 子洲县| 来宾市| 郓城县| 华宁县| 聂拉木县| 任丘市| 益阳市| 巴东县| 霍山县| 阿勒泰市| 赣榆县| 邯郸县| 红原县| 涿鹿县| 普宁市| 沁水县| 马关县| 临夏市| 南平市| 慈利县| 泸定县| 彝良县| 灌阳县| 周口市| 阿克| 林西县| 崇明县| 岳普湖县| 四川省| 肇东市| 罗田县| 怀化市| 太白县|