HDU 4593 Robot
来源:互联网 发布:假身份证骗网络贷款 编辑:程序博客网 时间:2024/06/06 18:25
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=4593
题目很长,但有用的就那两行,很水的有一道题目;
代码如下:
#include<bits/stdc++.h>using namespace std;int main(){ int n; int a[1001]; while(scanf("%d",&n)!=EOF) { memset(a,0,sizeof(a)); int x; for(int i=0; i<n+1; i++) { scanf("%d",&x); a[x]++; } for(int i=0; i<=n; i++) { if(a[i]==2) printf("%d\n",i); } }}
0 0
- HDU 4593 Robot
- HDU 4593 Robot
- HDU 4593 Robot
- hdu 4593 Robot
- HDU 4593 Robot
- HDU 4593 Robot
- hdu 4593 Robot(签到题)
- Robot HDU
- hdu 1035 Robot Motion
- HDU 1035 Robot Motion
- HDU-1035 ROBOT NOTION
- hdu 1035 Robot Motion
- hdu 1035 Robot Motion
- hdu 4375 Programmable Robot
- hdu~4166~Robot Navigation
- hdu 1035 Robot Motion
- HDU 1035 Robot Motion
- hdu 1035 Robot Motion
- 树莓派 Learning 002 装机后的必要操作 --- 02 解决中文问题
- linux c/c++ 中使用shell命令
- GIT与SVN协同工作—— 作为客户端的 Git
- 【c语言输入输出格式】 输出小数尾部没有0
- Mysql学习总结(2)——Mysql超详细Window安装教程
- HDU 4593 Robot
- 判断两个浮点数是否相等
- Stanford Prof. Li Feifei写给她学生的一封信
- 微信开发整理
- VoIP协议栈
- Combining Sketch and Tone for Pencil Drawing Production
- 一个数据读入时出现的BUG
- RAID详解[RAID0/RAID1/RAID10/RAID5]
- mysql create database