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