[编程入门]数组插入处理-用新数组存插入数据 摘要:解题思路:注意事项:参考代码:int main(){ int a[9],b[10]; int i,n,k=0,j=0; for(i=0;i<9;i++){ …… 题解列表 2021年07月21日 0 点赞 0 评论 158 浏览 评分:0.0
冒泡排序法 摘要:解题思路:开辟总元素的长度,然后利用冒泡排序进行排序即可!冒泡排序:1.排序总轮数=元素个数-1;2.每次对比次数=元素个数-排序轮数-1注意事项:注意循环条件,总共十个数,判断九次就完成了十个数的排…… 题解列表 2021年09月13日 0 点赞 0 评论 212 浏览 评分:0.0
题解11111111111111111111111 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <stdlib.h> #include <string.h>struct student{int n;char na…… 题解列表 2021年09月16日 0 点赞 0 评论 177 浏览 评分:0.0
编写题解 1025: [编程入门]数组插入处理 摘要:解题思路:创建数组插入就好啦,刚刚正好写了选择排序,所以懒得插入时判断了,排序直接拿来用注意事项:这题本身不需要这么麻烦,我写拷贝数组只是想巩固一下除了直接插入排序,也可以在插入的时候进行判断,比前面…… 题解列表 2021年09月24日 0 点赞 0 评论 151 浏览 评分:0.0
【C语言】新手解法 摘要:解题思路:由后往前移动目标数注意事项:参考代码:#include <stdio.h> int main(){ int array[10]={0}; int i1,i2,a; i1=a…… 题解列表 2021年10月25日 0 点赞 0 评论 312 浏览 评分:0.0
1025: [编程入门]数组插入处理 摘要:解题思路:将输入的数据与数组中元素从前往后依次比较,找到位置记住输入数据该插入位置。将其后元素依次后移注意事项:注意0元素,参考代码此种情况单独讨论参考代码:#includeint main(){ …… 题解列表 2021年11月01日 0 点赞 0 评论 274 浏览 评分:0.0
初学者的拙劣方法 摘要:解题思路:注意事项:参考代码:#include "stdio.h"int main(){ int a[9]; int b; int i; for(i = 0;i<9;i++) …… 题解列表 2021年11月04日 0 点赞 0 评论 339 浏览 评分:0.0
[编程入门]数字插入处理-----利用函数------(Python) 摘要:Python append----在最末尾添加 sort-----将列表排序 ```python team=list(map(int,input().split())) n=int(inpu…… 题解列表 2021年11月05日 0 点赞 0 评论 318 浏览 评分:0.0
1025 就是钱欠收拾,,,C语言 摘要:解题思路:注意事项:参考代码:#include <stdio.h> int main(){ int i,t,a[10]; for(i=0;i<9;i++) { …… 题解列表 2021年11月09日 0 点赞 0 评论 186 浏览 评分:0.0
1025: [编程入门]数组插入处理 摘要:解题思路:运用迭代思想注意事项:先画流程图理清思路,关键是将第二行的数按正序插入第一行中,我们采用迭代的方法,将插入的数放入score【9】中,然后将score【9】与score【8】,score【7…… 题解列表 2021年11月12日 0 点赞 0 评论 218 浏览 评分:0.0