POJ 3916 Duplicate Removal G++
来源:互联网 发布:linux traceroute 编辑:程序博客网 时间:2024/06/06 02:27
#include <iostream>#include <vector>using namespace std;int main(){vector<int> jg;while(1){int NUM;cin>>NUM;if(NUM==0){break;}for(int i=0;i<NUM;i++){int t;cin>>t;jg.push_back(t);}jg.push_back(-1);}for(int i=0;i<jg.size();i++){if((jg[i]!=-1)&&(jg[i]!=jg[i+1])){cout<<jg[i]<<" ";}if(jg[i]==-1){cout<<"$"<<endl;}}return 0;}
0 0
- POJ 3916 Duplicate Removal G++
- poj 3916 Duplicate Removal
- poj 3916 Duplicate Removal
- POJ 3916:Duplicate Removal 将相近的重复元素删除
- POJ 3183 Stump Removal G++
- 水NOJ Duplicate Removal
- 南邮 OJ 1089 Duplicate Removal
- POJ 3183 Stump Removal
- poj 3183 Stump Removal
- POJ 3183 Stump Removal
- 无聊水题一篇 poj3916-Duplicate Removal
- 11G Online Duplicate
- POJ 3183 Stump Removal(简单题)
- POJ 3183 Stump Removal(水~)
- Oracle 11g RMAN 异机duplicate数据库
- 10g数据库做rman duplicate
- 11g RMAN duplicate from active database
- POJ 3094 Quicksum G++
- Java中this使用的小总结
- 移动测试基础 Android 常用 adb 命令总结
- Linux机器添加互信脚本
- Channel Allocation poj1129 (深搜/四色/枚举)
- 新手福音︱正则表达式小工具RegExr
- POJ 3916 Duplicate Removal G++
- Spark 线性回归
- springMVC--封装参数及页面回显
- 连续平方数
- django 错误1
- 轻松搞定RabbitMQ(三)——消息应答(客户端挂)与消息持久化(服务器端挂)
- pwnable.kr-bof-Writeup
- bzoj1115
- 串口通信