1025: [编程入门]数组插入处理 摘要:解题思路:从头元素开始遍历数组,当找到第一个比待插数大的元素时,就把待插数插到这个元素前面。不过本题不需要真正插入,只需要输出插入后的数组,相对来说比较简单。注意事项:有序数组,等到元素较多的时候就应…… 题解列表 2022年02月27日 0 点赞 0 评论 655 浏览 评分:9.9
1025: [编程入门]数组插入处理---一看就懂,代码精简 摘要:解题思路:这道题解决思路还是挺多的,可以把最后一个数字也放入数组,然后用直接插入排序或者是选择排序,这样会比较麻烦一点点!然后我们的解题思路就是--把数组的第一个位置或者最后一个位置空出来,有利于数据…… 题解列表 2022年02月26日 0 点赞 0 评论 314 浏览 评分:9.9
优质题解 数组插入处理(看不懂你打我!! 摘要:解题思路:1、当n > a[8]时 将n存储在a[9]中 0 1 2 3 4 5 &nbs 题解列表 2022年02月23日 0 点赞 5 评论 5312 浏览 评分:7.7
编写题解 1025: [编程入门]数组插入处理 自留笔记 摘要:解题思路:将要插入的数据放在数组最后一位,然后排序整个数组参考代码:#include <stdio.h> int main() { int a[10],min,t; for(i…… 题解列表 2022年02月22日 0 点赞 0 评论 194 浏览 评分:0.0
1025: [编程入门]数组插入处理 摘要:解题思路:注意事项:参考代码:li = list(map(int, input().split()))a = eval(input())li.append(a)li.sort(reverse = Fa…… 题解列表 2022年02月20日 0 点赞 0 评论 298 浏览 评分:0.0
1025: [编程入门]数组插入处理 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a[9],b[10]; int i,j,k; for(i=0;i<9;i++) …… 题解列表 2022年02月17日 0 点赞 0 评论 714 浏览 评分:0.0
1025: [编程入门]数组插入处理 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int a[10]; int i=0; int t; for(i=0;i<9;…… 题解列表 2022年02月13日 0 点赞 0 评论 252 浏览 评分:0.0
数组插入处理 python 摘要:解题思路:注意事项:参考代码:a = list(map(int,input().split()))b = int(input())a.append(b)a.sort()for i in a: p…… 题解列表 2022年02月05日 0 点赞 0 评论 387 浏览 评分:2.0
题解 1025: [编程入门]数组插入处理 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<algorithm>#include<cstdio>using namespace std;int main(){ …… 题解列表 2022年01月27日 0 点赞 0 评论 235 浏览 评分:0.0
[编程入门]数组插入处理-题解(python代码) 摘要:解题思路: 将已正序排列的数和单独输入的数放入一个列表中,用sort排序后输入即可。注意事项:参考代码:lst = list(map(int, input().split()))n = int(…… 题解列表 2022年01月25日 0 点赞 0 评论 303 浏览 评分:0.0