三个数找最大值(JAVA) 摘要:解题思路:注意事项:参考代码:importjava.util.Scanner;publicclassMain{ publicst…… 题解列表 2026年02月04日 0 点赞 0 评论 271 浏览 评分:0.0
使用函数解决 摘要:解题思路:先找两个数的最大值,再与另一个数比较注意事项:参考代码:#include<iostream>using namespace std;int max(int a, int b) {…… 题解列表 2026年03月17日 0 点赞 0 评论 140 浏览 评分:0.0
在哪你都看得到我记住这句话 摘要:解题思路:只需要连续对比两次最大即可,省时间和空间注意事项:参考代码:#include<iostream>usingnamespacestd;int&nbs…… 题解列表 2026年03月19日 0 点赞 0 评论 144 浏览 评分:0.0
两个方法,喜欢哪个用哪个 摘要:解题思路:首先考虑到max()函数进行作答,之后又想到可以用分支判断语句解答注意事项:参考代码:运用if(分支结构)函数进行a,b,c=map(int,input().split())if a>…… 题解列表 2026年04月20日 0 点赞 0 评论 92 浏览 评分:0.0