复习排序(本题用最后一种方法,前几个也可以) 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int n; cin >> n; int a[n],i=-1…… 题解列表 2024年03月03日 0 点赞 0 评论 155 浏览 评分:0.0
整数序列的元素最大跨度值C 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n,i,a[1000],min,max; scanf("%d",&n); for(i=…… 题解列表 2024年02月16日 0 点赞 0 评论 110 浏览 评分:0.0
2798: 整数序列的元素最大跨度值 摘要:解题思路:注意事项:最小值初值最大,最大值初值最小#include<bits/stdc++.h>using namespace std;int main(){ int n,b,c=INT_MAX…… 题解列表 2024年01月13日 0 点赞 0 评论 143 浏览 评分:0.0
题解 2798: 整数序列的元素最大跨度值 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int b; cin>>b; int m…… 题解列表 2024年01月09日 0 点赞 0 评论 89 浏览 评分:0.0
2798: 整数序列的元素最大跨度值 摘要:解题思路:注意事项:参考代码:#include<iostream> using namespace std; int main() { int n,max=0,min=0; …… 题解列表 2023年11月15日 0 点赞 0 评论 198 浏览 评分:0.0
感谢支持,谢谢你们的支持 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int n,maxx=0,minn=1000,a; …… 题解列表 2023年07月01日 0 点赞 0 评论 183 浏览 评分:0.0
2798: 整数序列的元素最大跨度值(求最大值和最小值) 摘要:解题思路:使用自定义函数,求出最大值和最小值,然后最大值减去最小值即为解参考代码:#include <iostream>int max(int arr[],int n);int min(int arr…… 题解列表 2023年04月10日 0 点赞 0 评论 185 浏览 评分:0.0
给用Java的开一下荒土 摘要:解题思路:注意事项:参考代码:import java.util.Scanner; public class Main { public static void main(String[] a…… 题解列表 2023年03月31日 0 点赞 0 评论 231 浏览 评分:0.0
整数序列的元素最大跨度值 C++ 摘要:解题思路:注意事项:参考代码:#include<iomanip>#include<string>#include<iostream>#include<algorithm>#include<cmath>…… 题解列表 2022年12月08日 0 点赞 0 评论 285 浏览 评分:0.0