[编程入门]三个数最大值 (Python代码) 摘要:解题思路:sort()排序后输出最后一个值注意事项:input()中记得分割参考代码:lst = list(map(int,input().strip().split())) lst.sort() …… 题解列表 2019年05月03日 0 点赞 0 评论 1707 浏览 评分:8.4
[编程入门]三个数最大值 (C语言代码) 摘要:解题思路:max = max(max,max)就可以了注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int a[5];int used[5…… 题解列表 2019年04月20日 0 点赞 0 评论 2233 浏览 评分:0.0
课后习题1.6 (C++代码)max_element 摘要:注意事项:用到max_element参考代码:#include<iostream>#include<algorithm>using namespace std;int main(){ int a…… 题解列表 2019年03月02日 0 点赞 0 评论 1311 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题1.6 (Java代码) 解题思路:用三元运算符解题会快,而且代码不多注意事项:三元运算符的定义参考代码:importjava.util.Scanner;publicclassMain{publicstaticvoidmain(String[]args){Scannerscanner=newScanner(System.in) 题解列表 2019年02月25日 0 点赞 0 评论 1616 浏览 评分:6.0
C语言程序设计教程(第三版)课后习题1.6 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b,c; scanf("%d%d%d",&a,&b,&c); printf("%d",a>(b>c?…… 题解列表 2019年02月01日 0 点赞 0 评论 1080 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题1.6 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b,c,max; scanf("%d%d%d", &a,&b,&c); max=a…… 题解列表 2019年02月01日 0 点赞 0 评论 1020 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题1.6 (C语言代码) 摘要:解题思路:一个接一个比较注意事项:不要弄混比较量参考代码:#include<stdio.h>int main(){ int a,b,c,max; scanf("%d%d%d",&a,&b,&c…… 题解列表 2018年12月30日 0 点赞 0 评论 857 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题1.6 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b,c; scanf("%d%d%d",&a,&b,&c); printf("%d…… 题解列表 2018年12月28日 0 点赞 0 评论 961 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题1.6 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b,c,t; scanf("%d%d%d",&a,&b,&c); if(a<b) { t=a;…… 题解列表 2018年12月27日 0 点赞 0 评论 1034 浏览 评分:6.0
C语言程序设计教程(第三版)课后习题1.6 (C语言代码) 摘要:解题思路:三目运算注意事项:参考代码:#include<stdio.h>int main(){ int a,b,c; scanf("%d%d%d",&a,&b,&c); printf("%d",a>(…… 题解列表 2018年12月25日 0 点赞 0 评论 946 浏览 评分:0.0