1169: 绝对值排序(快排) 摘要:解题思路:快排注意事项:参考代码:#include<iostream> #include<cstring> #include<cmath> using namespace std; const…… 题解列表 2024年09月04日 0 点赞 0 评论 260 浏览 评分:9.9
好久不写了练练手 摘要:解题思路:首先看输入格式,是不限制输入次数,那就while接收,不放心就再加个try-except,这一题空间限制很小,那干脆多占点空间换时间了,接收每一组数据后化为整型,然后截去第一位计数用的,留下…… 题解列表 2025年01月04日 1 点赞 0 评论 379 浏览 评分:10.0
1169: 绝对值排序 摘要:#include<stdio.h>int main(){ int i,j,n,e; int a[100]; while(scanf("%d",&n)) { i…… 题解列表 2025年02月14日 2 点赞 0 评论 214 浏览 评分:10.0
C++:set容器+vector容器+更改set容器排列规则 摘要:解题思路:注意事项://修改方法2// 比较函数bool compare(int a, int b){ return a > b; // 这里定…… 题解列表 2025年04月29日 1 点赞 0 评论 85 浏览 评分:0.0