题解 1102: 明明的随机数

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

筛选

明明的随机数(正规)

摘要:解题思路:把相等于0,然后在排,在定义个数组,把不等于0的复制其中,然后输出.......注意事项:无参考代码:#include<iostream>#include<algorithm>using n……

编写题解 1102: 明明的随机数

摘要:解题思路: 先排序再去重注意事项:参考代码:#include<stdio.h> void Srot(int* arr, int len); void Deduplication(int* arr,……

通俗易懂好理解

摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int a[100]; int n; scanf("%d",&n); int i,j; for(i=0;i<n……

明明的随机数--C/C++两版

摘要:解题思路:                肯定是先排序再去重了!!!先使用快速排序法或者冒泡排序法进行排序,排序没有什么难度,如果不懂排序的可以看看我之前写的排序法(带模板的啊)。          ……

利用数组下标来排序

摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int N,num,m=0;scanf("%d",&N);int a[1001]={0};int b[1001]……

敲简单C语言代码!!!

摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){    int a[100],i,d,k,j,t=-1,b[100],w,r;    scanf ("%d",&d……