junmu1165:【明明的随机数】 利用数组下标,超清新哦 摘要:解题思路: 1.利用数组下标的特点,超方便。 2.就是有时候数组要很大。。。。 3.充分体现了,代码短…… 题解列表 2019年01月22日 1 点赞 0 评论 956 浏览 评分:0.0
【明明的随机数】 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ int x,y,a[100],j,z,h; sc…… 题解列表 2019年02月22日 0 点赞 0 评论 468 浏览 评分:0.0
【明明的随机数】 (C语言代码) 摘要:解题思路:注意事项:自定义一个排序函数,输出函数,去重函数,我写的输出函数与去重函数合为一个,注意数组的传递参考代码:#include<stdio.h>void prin(int arre[],int…… 题解列表 2017年12月10日 0 点赞 0 评论 1207 浏览 评分:0.0
【明明的随机数】 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int x,a[100],i,j,k,t; scanf("%d",&x); for(i=0;i<x;i++) {…… 题解列表 2017年12月10日 0 点赞 0 评论 648 浏览 评分:0.0
【明明的随机数】 (C语言代码) 摘要:解题思路:把重复的变成负数,在排序和输出时跳过注意事项:参考代码:#include <stdio.h>#include<math.h>int main (){int a[100];int i,j,m,…… 题解列表 2019年03月15日 0 点赞 0 评论 394 浏览 评分:0.0
【明明的随机数】 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(void){ int i, j, n, x, count, min; int num[100]; scanf("%d…… 题解列表 2017年12月01日 0 点赞 0 评论 822 浏览 评分:0.0
【明明的随机数】 (C语言代码) 摘要:解题思路:注意事项:参考代码: #include<stdio.h>int main(){ int num; int a[100]; int i,j; int temp=0; int tt; scanf…… 题解列表 2017年10月09日 0 点赞 0 评论 1055 浏览 评分:0.0
【明明的随机数】 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a[100],i,j,m,k=1,t; scanf("%d",&m); for(i=0…… 题解列表 2017年07月29日 0 点赞 0 评论 875 浏览 评分:0.0
python解决明明的随机数 摘要:解题思路:注意虽然题上说“明明要生成随机数”,但是实际上并没有生成随机数,需要理解题意。注意事项:参考代码:n = int(input()) a = eval(input().replace(…… 题解列表 2021年03月21日 0 点赞 0 评论 423 浏览 评分:2.0
【明明的随机数】-题解(Python代码) 摘要:思路解析: 1、用map()高阶函数解决输入问题; 2、使用集合特性去重; 3、列表函数直接排序; 4、注意不输出最后一个空格; ```python #明明的随机数.py …… 题解列表 2019年09月02日 0 点赞 0 评论 923 浏览 评分:5.0