水题

#include <iostream>
#include <vector>
#include <algorithm> using namespace std; int main(){
int n,a,b;
cin >> n >>a >> b;
vector<int> apple(n+,);
int k;
for(int i = ; i < a; ++ i) {
cin>>k;
apple[k] = ;
}
for(int i = ; i < b; ++ i) {
cin >> k;
if(apple[k]==) apple[k] = ;
}
for(int i = ; i < n+; ++ i){
if( i == ) cout<< apple[i];
else cout<<" "<<apple[i];
}
cout<<endl;
}

最新文章

  1. Longest Valid Parentheses
  2. Integrated Circuit Intro
  3. Flex Builder读书笔记(一)
  4. C#学习1
  5. skynet启动过程_bootstrap
  6. JqueryEasyUI中combox的数据不显示
  7. MUI 列表页面绑定接口数据
  8. C/C++知识点清单02-上
  9. vue 学习中 版本、问题集锦
  10. [ZJOI 2015]幻想乡战略游戏
  11. docker镜像保存及导出(save,export)
  12. 为不具有change事件的html标签设置监听事件
  13. Android apk安装时出现“解析软件包错误”
  14. ArcSDE
  15. Linux : Vim 使用与配置 (附 GitHub 自动化配置脚本)
  16. 【PAT】B1078 字符串压缩与解压(20 分)
  17. poj1094 Sorting It All Out【floyd】【传递闭包】【拓扑序】
  18. Python glob.md
  19. Mapreduce运行过程分析(基于Hadoop2.4)——(二)
  20. verilog语法实例学习(2)

热门文章

  1. Android N 新特性 + APP开发注意事项
  2. Validform 学习笔记---基础知识整理
  3. Golang Beego 分析(一)
  4. WPF PRISM开发入门一( 初始化PRISM WPF程序)
  5. 使用VS把ASP.NET 5的应用发布到Linux的Docker上
  6. Android中设定EditText的输入长度(转)
  7. eclipse文本编码格式修改为UTF-8 (转)
  8. python web编程-web客户端编程
  9. Android加载大图片OOM异常解决
  10. cve-2015-1635漏洞分析