| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
欢迎加入我们,一同切磋技术
用户名:   
 
密 码:  
共有 769 人关注过本帖
标题:求解一道题,应该用什么结构,好懵逼!
取消只看楼主 加入收藏
一分钟
Rank: 1
等 级:新手上路
帖 子:3
专家分:0
注 册:2016-11-3
收藏
 问题点数:0 回复次数:1 
求解一道题,应该用什么结构,好懵逼!
Input

The first line is a positive integer t for the number of test cases.
Each test case contains two lines. The first line is an integer n (0<n<=100). The second line contains n integers.

Output

For each test case, outputs the distinct numbers in order in which they were read, seperated by one blank.

Sample Input

2
3
1 2 1
4
2 1 2 1
Sample Output

1 2
2 1
搜索更多相关主题的帖子: positive number 
2016-11-04 00:26
一分钟
Rank: 1
等 级:新手上路
帖 子:3
专家分:0
注 册:2016-11-3
收藏
得分:0 
回复 2楼 魑魅
还是不明白,是要用嵌套数组吗?
2016-11-04 07:26
快速回复:求解一道题,应该用什么结构,好懵逼!
数据加载中...
 
   



关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.016966 second(s), 9 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved