2798: 整数序列的元素最大跨度值 摘要:#include <bits/stdc++.h>using namespace std;int main(){ int n,maxx= -1e18 ,minn=1…… 题解列表 2025年09月24日 0 点赞 0 评论 507 浏览 评分:0.0
遍历加绝对值 摘要:解题思路:用小学手拉手的思路,即n个人,两人拉手有n的阶乘种方法,即n!,现如今就遍历这n!种情况,要用到双重for循环注意事项:注意双重for循环的数组中的变量,还有取绝对值表示跨度参考代码:#in…… 题解列表 2025年10月08日 0 点赞 0 评论 213 浏览 评分:0.0
整数序列的元素最大跨度值 ———— STL解法 摘要:解题思路:使用具有C++特色的vector<>容器来代替数组使用,同时使用迭代器,调用STL…… 题解列表 2025年11月04日 0 点赞 0 评论 169 浏览 评分:0.0
方法:一次遍历找双极值 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n=0; scanf("%d",&n); int scores…… 题解列表 2025年12月23日 0 点赞 0 评论 156 浏览 评分:0.0
整数序列的元素最大跨度值 C++ 摘要:解题思路:注意事项:参考代码:#include<iomanip>#include<string>#include<iostream>#include<algorithm>#include<cmath>…… 题解列表 2022年12月08日 0 点赞 0 评论 452 浏览 评分:0.0
C++整数序列的元素最大跨度值 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<iomanip>#include<cmath>#include<algor…… 题解列表 2026年02月22日 0 点赞 0 评论 86 浏览 评分:0.0
整数序列的元素最大跨度值 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int maxx = 0, minn = INT_MA…… 题解列表 2024年01月10日 0 点赞 1 评论 294 浏览 评分:2.0
哥们哥们,投机来吗(有一点小问题) 摘要:解题思路:条件表达式注意事项:不要写错参考代码:#include<stdio.h>#define max(a,b) (a>b?a:b) #define min(a,b) (a<b?a:b)int ma…… 题解列表 2022年11月04日 0 点赞 0 评论 691 浏览 评分:6.0
整数序列的元素最大跨度值(c++贼简单) 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int a, n, c, max, min; cin >>…… 题解列表 2022年11月03日 0 点赞 0 评论 770 浏览 评分:6.9
随便写 摘要:解题思路:注意事项:参考代码:import java.util.Scanner;public class Main { public static void main (String[] arg…… 题解列表 2023年12月05日 0 点赞 0 评论 403 浏览 评分:7.3