编写题解 1129: C语言训练-排序问题(2) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int number[10]={0}; for(…… 题解列表 2026年04月04日 0 点赞 0 评论 34 浏览 评分:0.0
排序 两行解决 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int a[10];&…… 题解列表 2026年02月14日 0 点赞 0 评论 251 浏览 评分:8.0
一看就会,超详细,超级简单2 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int arr[10]; for(int i=0;i<10;i++){ scanf(&quo…… 题解列表 2025年11月22日 1 点赞 0 评论 171 浏览 评分:10.0
C语言训练-排序问题(2)C++使用sort排序 摘要:解题思路:自定义cmp,使sort()为降序函数注意事项:参考代码:#include<iostream>using namespace std;#include<algorithm>bool cmp(…… 题解列表 2024年12月07日 1 点赞 0 评论 555 浏览 评分:0.0
超级超级简单的1129冒泡法 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a[10],t=0; for(int i=0;i<10;i++) scanf("%d",&a[i]);…… 题解列表 2024年11月27日 0 点赞 0 评论 563 浏览 评分:0.0
会1就看我这个,看我注释修改进行了 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main() { int a[20]; int i, j, min, temp; for (i =…… 题解列表 2024年11月17日 0 点赞 0 评论 391 浏览 评分:9.9
1129: C语言训练-排序问题(2) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a[100],j,i; for(i=0;i<10;i++) { scan…… 题解列表 2024年11月09日 0 点赞 0 评论 365 浏览 评分:0.0
1129: C语言训练-排序问题(2) 摘要:```cpp #include using namespace std; int px(int a[]){ for(int i=0;i>a[i]; sort(a,a+10); for…… 题解列表 2024年08月01日 0 点赞 0 评论 353 浏览 评分:0.0
1129排序问题(2)(sort排序) 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<algorithm>using namespace std;bool compare(int p1, int p2)…… 题解列表 2024年06月13日 0 点赞 0 评论 467 浏览 评分:0.0
排序问题(2) 摘要:解题思路:注意事项:参考代码:a=list(map(int,input().split()))a.sort()b=a[::-1]for i in b: print(i,end=' …… 题解列表 2024年03月27日 0 点赞 0 评论 430 浏览 评分:0.0