使用max函数 摘要:解题思路:注意事项:参考代码:l = input().split() # 读取输入并分割成列表 t = [] # 创建一个空列表 # 使用列表推导式将 l 中的每个字符串转换为浮点数,并添…… 题解列表 2024年07月28日 0 点赞 0 评论 1153 浏览 评分:0.0
[编程入门]三个数最大值C++与言(懒方法) 摘要:解题思路:三个数最大值用两个max就行注意事项:如下图参考代码:#include <bits/stdc++.h> //万能头using namespace std;int main(){ int…… 题解列表 2024年07月30日 4 点赞 0 评论 1069 浏览 评分:0.0
编写题解 1002: [编程入门]三个数最大值(三目运算) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b,c,max; scanf("%d %d %d",&a,&b,&c); //输入a,b,c三…… 题解列表 2024年09月14日 1 点赞 0 评论 551 浏览 评分:0.0
用与运算解 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b,c; scanf("%d%d%d",&a,&b,&c); if(a>b&&a>…… 题解列表 2024年11月03日 0 点赞 0 评论 549 浏览 评分:0.0
翁恺解题思路 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){int a,b,c;int max=0;scanf("%d%d%d",&a,&b,&c);if(a>b){if(a…… 题解列表 2024年12月09日 4 点赞 0 评论 975 浏览 评分:0.0
C语言 一维数组+简单函数解决问题 or 数组+指针解决问题 摘要:解题思路:注意事项:参考代码://方法一:一维数组+函数解决问题#include<stdio.h>#define n 3int compare( int a, int b ){…… 题解列表 2025年01月03日 0 点赞 0 评论 947 浏览 评分:0.0
三个数求最大值 解题思路:先默认一个是最大,然后和其他的比较参考代码:#includemain(){inta,b,c,max;scanf("%d%d%d",&a,&b,&c);max=a;//假设a最大if(max 题解列表 2025年01月20日 12 点赞 0 评论 2542 浏览 评分:0.0 轻轻松松求解 摘要:先输入abc的值,然后再直接用内置函数就行了注意事项:参考代码:# 使用 split() 分割输入字符串(默认按空格分割)a, b, c = map(int, input("请输入三个整…… 题解列表 2025年07月13日 0 点赞 0 评论 1106 浏览 评分:0.0 C++:ctrl c ctrl v 摘要:解题思路:1注意事项:2参考代码:#include<iostream>using namespace std;int main(){ int a,b,c;&nbs…… 题解列表 2025年11月05日 0 点赞 0 评论 454 浏览 评分:0.0 [编程入门]三个数最大值 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int number[3]; int t=0;&…… 题解列表 2025年12月05日 2 点赞 0 评论 710 浏览 评分:0.0 « 12...272829303132333435 »
轻轻松松求解 摘要:先输入abc的值,然后再直接用内置函数就行了注意事项:参考代码:# 使用 split() 分割输入字符串(默认按空格分割)a, b, c = map(int, input("请输入三个整…… 题解列表 2025年07月13日 0 点赞 0 评论 1106 浏览 评分:0.0
C++:ctrl c ctrl v 摘要:解题思路:1注意事项:2参考代码:#include<iostream>using namespace std;int main(){ int a,b,c;&nbs…… 题解列表 2025年11月05日 0 点赞 0 评论 454 浏览 评分:0.0
[编程入门]三个数最大值 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int number[3]; int t=0;&…… 题解列表 2025年12月05日 2 点赞 0 评论 710 浏览 评分:0.0