题解 1165: 明明的随机数

来看看其他人写的题解吧!要先自己动手做才会有提高哦! 
返回题目 | 我来写题解

筛选

1165: 明明的随机数

摘要:解题思路:先用数组装,然后排好序后,装入set,然后输出就好了注意事项:参考代码:#include<bits/stdc++.h> using namespace std; int main() ……

明明的随机数

摘要:n=int(input()) list1=list(map(int,input().split())) list1=list(set(list1)) list1.sort() print(le……

【明明的随机数】-题解(C++代码)

摘要:#### 原题链接:[【明明的随机数】](https://www.dotcpp.com/oj/problem1165.html "【明明的随机数】") #### 解题思路: **1、先排序……

简单又实用,看不懂请打死我

摘要:解题思路:用排序函数sort对输入的数据进行排序,使用降重函数unique对输入的数据进行降重并输出注意事项:使用sort和unique前添加头文件#include<algorithm>参考代码:#i……