[BZOJ2761]JLOI2011不重复的数字
来源:互联网 发布:网页美工和前端工作 编辑:程序博客网 时间:2024/05/21 01:27
我也想要这种省选题。。
#include<cstdio>#include<iostream>#include<map>using namespace std;map<int,int> a;int i,n,T,q;int main(){scanf("%d",&T);while (T--){scanf("%d",&n);a.clear();scanf("%d",&q);a[q]=1;printf("%d",q);for (i=2;i<=n;i++){scanf("%d",&q);if (a[q]!=1) a[q]=1,printf(" %d",q);}printf("\n");}}
0 0
- [BZOJ2761]JLOI2011不重复的数字
- 【bzoj2761】[JLOI2011]不重复数字
- bzoj2761 [JLOI2011]不重复数字
- [BZOJ2761][JLOI2011]不重复数字
- 【JLOI2011】【BZOJ2761】不重复数字
- bzoj2761 [JLOI2011]不重复数字
- 【bzoj2761】【JLOI2011】不重复数字
- bzoj2761 [JLOI2011]不重复数字
- bzoj2761 [JLOI2011]不重复数字
- BZOJ2761: [JLOI2011]不重复数字
- BZOJ2761 [JLOI2011]不重复数字
- 【BZOJ2761】[JLOI2011]不重复数字 STL set
- 【bzoj2761】【JLOI2011】【不重复数字】【平衡树】
- [BZOJ2761][JLOI2011]不重复数字(splay)
- 【BZOJ2761】【hash】[JLOI2011]不重复数字 题解
- BZOJ2761 / JLOI2011 不重复的数【平衡树?哈希!】
- BZOJ2761 不重复数字
- [BZOJ2761] 不重复数字
- Android--工程目录结构
- 第13题
- opengl坐标系
- CSS3 莲花盛开动画
- GeneNomenclatureUtils_download_urls.txt(生物信息学数据库数据下载链接)
- [BZOJ2761]JLOI2011不重复的数字
- 信号与系统
- PHP语言实现脚本异步执行
- 抽象工厂模式(三):抽象工厂模式概述
- C#身份证验证
- 第14题
- [BZOJ3110]K大数查询|线段树套线段树
- 《机器学习》学习笔记(三):支持向量机(SVM)
- zoj 3605 Find the Marble 计数dp