2905: 最大值和最小值的差 摘要:```cpp #include using namespace std; int main() { int M,max=-10001,min=10001,x; cin>>M…… 题解列表 2022年11月30日 0 点赞 0 评论 496 浏览 评分:9.9
2905: 最大值和最小值的差(max_element) 摘要:解题思路:一个最简单的思路,把输入的数扫描一遍,找到最大值和最小值,相减即可。需要注意将两个变量初始化。参考代码:#include<iostream> #include<set> using na…… 题解列表 2022年09月14日 1 点赞 0 评论 1042 浏览 评分:9.9
最大值和最小值的差,包清楚的c语言。 摘要:…… 题解列表 2025年03月20日 2 点赞 0 评论 268 浏览 评分:10.0
2905: 最大值和最小值的差 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<iomanip>#include<cmath>using…… 题解列表 2025年08月23日 1 点赞 0 评论 144 浏览 评分:10.0