题解 2021: 坐标排序 摘要:解题思路:注意事项:参考代码:#include<stdio.h> void swap(int a[], int b[]) //交换 { int i,k=0; for(…… 题解列表 2022年03月28日 0 点赞 0 评论 194 浏览 评分:0.0
C# 2021: 坐标排序 摘要:```cpp #include using namespace std; struct fun { int x; int y; int z; }s[10000]…… 题解列表 2022年08月06日 0 点赞 0 评论 625 浏览 评分:0.0
手写一个快速排序算法 摘要:解题思路:快速排序算法注意事项:多关键字比较参考代码:#include <stdio.h> typedef struct _Point { int x, y, z; } Point;…… 题解列表 2024年04月23日 0 点赞 0 评论 155 浏览 评分:0.0
坐标排序(构建对象去处理坐标数据) 摘要:解题思路: - 既然用的C++,那就不用结构体去处理了,构建一个对象去处理,顺便使用构造函数去处理输入 - 将对象存入vector容器,再去排序,排序用的就是sort,想看手写快排的话,那放在这下…… 题解列表 2024年12月28日 0 点赞 0 评论 114 浏览 评分:0.0
干就完了,bro 摘要:解题思路:注意事项:参考代码:#include <iostream>#include <vector>#include <algorithm>using names…… 题解列表 2025年04月06日 0 点赞 0 评论 34 浏览 评分:0.0