用两个链表,小于k1的链表逆序输出,大于k1的链表正序输出 摘要:解题思路:注意事项:参考代码:import java.util.ArrayList; import java.util.List; import java.util.Scanner; pub…… 题解列表 2024年04月09日 0 点赞 0 评论 552 浏览 评分:0.0
用列表插入和加法来解题 摘要:解题思路:a = int(input())for i in range(a): b = list(map(int,input().split()))  …… 题解列表 2025年01月06日 0 点赞 0 评论 505 浏览 评分:0.0
数列排序(数组原地改变) 摘要:解题思路:注意事项:参考代码:public static void main(String[] args) { Scanner sc = new Scanner(System…… 题解列表 2025年03月04日 0 点赞 0 评论 502 浏览 评分:0.0
数列排序- 模拟+数组元素移动 摘要:解题思路:模拟+数组元素移动+插入数组注意事项:参考代码:#include<iostream>usingnamespacestd;constin…… 题解列表 2025年03月25日 0 点赞 0 评论 485 浏览 评分:0.0
数列排序(C++)笔记 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ …… 题解列表 2025年05月01日 1 点赞 0 评论 520 浏览 评分:0.0
经典的多项输入嵌套数组排序问题 摘要:解题思路:思路很常规,只有一点:这种循环判断嵌套中,如果要对某个变量进行额外操作,一定要引入中间变量替代它去操作,防止操作的代码干扰了原循环的赋值!注意事项:参考代码:# define _CRT_SE…… 题解列表 2026年07月23日 1 点赞 0 评论 101 浏览 评分:0.0
数列排序 (C语言代码) 摘要:解题思路: 思路1:将比K1大的数字用一个变量保存,然后再这个数之前的数全部往后移动一位,最后把变量中的数放到数组最前面。(无需管比K1大的数字) 思路2:重新定义两个数组,…… 题解列表 2019年05月02日 0 点赞 0 评论 1552 浏览 评分:0.0
数列排序 (C语言代码) 摘要:#include <stdio.h> int main() { int n,nums[9],i,o; scanf("%d",&n); for (i=1;i<=n;i++) { …… 题解列表 2017年10月26日 0 点赞 0 评论 2378 浏览 评分:0.0
数列排序 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(void){ int i, n, l, x, min; int num[20]; scanf("%d", &n); …… 题解列表 2017年12月01日 0 点赞 0 评论 1268 浏览 评分:0.0
数列排序 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n,i,j; int a[9],t; scanf("%d",&n); while(n--) { t=0…… 题解列表 2018年02月10日 0 点赞 0 评论 1782 浏览 评分:0.0