题解 1102: 明明的随机数

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

筛选

排序+去重

摘要:解题思路:注意事项:参考代码:#include<stdio.h>intmain(){ intnumber[100]; intn,……

求解阿明的随机数

摘要:解题思路:纯用循环注意事项:参考代码:#include<stdio.h>int main(){ int n; scanf("%……

set去重且排序(sf12b)

摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ set<int>myset; //s……

明明的随机数(c语言桶解)

摘要:解题思路:用桶来排序,每个数字直接设置为一比qsort快桶号设置为1-1000注意事项:参考代码:int main(){ int N; scanf("%d",&N); in……