在哪你都看得到我记住这句话 摘要:解题思路:只需要连续对比两次最大即可,省时间和空间注意事项:参考代码:#include<iostream>usingnamespacestd;int&nbs…… 题解列表 2026年03月19日 0 点赞 0 评论 84 浏览 评分:0.0
使用函数解决 摘要:解题思路:先找两个数的最大值,再与另一个数比较注意事项:参考代码:#include<iostream>using namespace std;int max(int a, int b) {…… 题解列表 2026年03月17日 0 点赞 0 评论 100 浏览 评分:0.0
C++:四种方法解决问题 摘要:解题思路:注意事项:参考代码://方法一:#include<bits/stdc++.h>usingnamespacestd;int …… 题解列表 2025年08月21日 1 点赞 0 评论 583 浏览 评分:0.0
利用max函数找到三数中的最大值 摘要:解题思路:可直接利用max(a,b)得出a,b中的较大值,再把较大值与下一个数比较即可注意事项:定义a,b,c时建议定义成long long,以防数据太大爆了参考代码:#include<iostrea…… 题解列表 2024年01月17日 0 点赞 0 评论 634 浏览 评分:9.3
题解 1006: [编程入门]三个数找最大值 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int a,b,c; cin>>a>>b>>c…… 题解列表 2023年12月23日 0 点赞 0 评论 530 浏览 评分:9.9
答案之中的答案 摘要:解题思路:wu注意事项:wu参考代码:#include<iostream>using namespace std;int main(){ int a,b,c; cin>>a>>b>>c; …… 题解列表 2023年12月02日 0 点赞 0 评论 444 浏览 评分:6.0
题解 1006: [编程入门]三个数找最大值 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ long long a,b,c; cin>>a>>b…… 题解列表 2023年11月15日 0 点赞 0 评论 449 浏览 评分:0.0
1006: [编程入门]三个数找最大值 摘要:解题思路:这道题更简单,只是单纯的找最大值;注意事项:是最大值,不是最小值参考代码:#include<bits/stdc++.h> using namespace std; int a[100],…… 题解列表 2023年04月27日 0 点赞 0 评论 446 浏览 评分:9.9
c++解题思路 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int a,b,c; cin >> a; cin >…… 题解列表 2023年03月02日 1 点赞 2 评论 448 浏览 评分:9.9
[编程入门]三个数找最大值 摘要:解题思路:max注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int a,b,c;int main(){ cin>>a>>b>>c; co…… 题解列表 2022年05月24日 0 点赞 0 评论 383 浏览 评分:0.0