反正是对的 摘要:解题思路:三目运算符嵌套注意事项:参考代码:#include<stdio.h>int main(){ int a,b,c; scanf("%d%d%d",&a,&b,&c); a>b…… 题解列表 2022年02月20日 0 点赞 0 评论 621 浏览 评分:0.0
条件操作符,找最大值 摘要:解题思路:运用条件操作符,exp1?xep2:exp3 意为,如果exp1成立,则执行exp2;否则执行exp3,最后打印出来即可注意事项:参考代码:int main(){ int a, b,…… 题解列表 2022年04月20日 0 点赞 0 评论 638 浏览 评分:0.0
三个数的最大值 摘要:解题思路:注意事项:参考代码:a,b,c=map(int,input().split(' '))print(max(a,b,c))…… 题解列表 2022年04月26日 0 点赞 0 评论 582 浏览 评分:0.0
三个数找最大值 摘要:解题思路:利用max快速找最大值注意事项:max的格式是max(a,b);参考代码:#include<bits/stdc++.h>using namespace std;int a,b,c;int m…… 题解列表 2022年04月29日 0 点赞 0 评论 459 浏览 评分:0.0
1006: [编程入门]三个数找最大值 摘要:#include<stdio.h> int main() { int i,j,k,max; scanf("%d%d%d",&i,&j,&k); if(i>j) …… 题解列表 2022年05月06日 0 点赞 0 评论 654 浏览 评分:0.0
个数找最大值 题解(c++超简单,直接) 摘要:解题思路:直接用两次max函数找最大的。注意事项:无。参考代码:#include<bits/stdc++.h>using namespace std;int a,b,c;int main(){scan…… 题解列表 2022年05月08日 0 点赞 0 评论 581 浏览 评分:0.0
1006: [编程入门]三个数找最大值 摘要:import java.io.*; import java.util.Arrays; /** * 数据保存在长度为 3 的数组里,然后用 Java Arrays 类提供的排序方法直接排就好…… 题解列表 2022年05月10日 0 点赞 0 评论 543 浏览 评分:0.0
[编程入门]三个数找最大值 摘要:解题思路:max注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int a,b,c;int main(){ cin>>a>>b>>c; co…… 题解列表 2022年05月24日 0 点赞 0 评论 527 浏览 评分:0.0
编写题解 1006: [编程入门]三个数找最大值 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b,c,max; scanf("%d%d%d",&a,&b,&c); max = a; i…… 题解列表 2022年05月24日 0 点赞 0 评论 549 浏览 评分:0.0
编写题解 1006: [编程入门]三个数找最大值 摘要:解题思路:注意事项:参考代码:a,b,c=map(int,input().split())max=aif max<b: max=b if max<c: max=celse: …… 题解列表 2022年06月14日 0 点赞 0 评论 672 浏览 评分:0.0