题解 2905: 最大值和最小值的差 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ long long a,b[100000]; scanf("%…… 题解列表 2025年01月27日 0 点赞 0 评论 211 浏览 评分:0.0
两种解法(sort和快速排序) 摘要:解题思路:第一种是利用c++内置函数sort,第二种是利用快速排序.(建议掌握第二种)注意事项:参考代码:第一种:第二种:#include<bits/stdc++.h> using namespac…… 题解列表 2022年11月04日 0 点赞 0 评论 229 浏览 评分:0.0