陈教主的三角形 摘要:while True: try: ls = list(map(int,input().split())) ls.sort() a, 题解列表 2021年12月24日 0 点赞 0 评论 476 浏览 评分:0.0
列表注意还原为空列表 摘要:解题思路:注意事项:参考代码:while True: a,b,c=map(int,input().split()) d=[a,b,c] xx=sorted(d) if xx[0…… 题解列表 2022年04月06日 0 点赞 0 评论 599 浏览 评分:0.0
编写题解 1387: 陈教主的三角形 摘要:解题思路:注意事项:参考代码://行测试数据,每行包含两个整数a和b(0<a,b<=100),表示长方形的长和宽。当a和b同时为0时,表示输入结束 #include<stdio.h> int ma…… 题解列表 2023年01月07日 0 点赞 0 评论 587 浏览 评分:9.9
陈教主的三角形(Java) 摘要:解题思路:注意事项:参考代码:import java.util.Scanner; public class Main { public static void main(String[] a…… 题解列表 2023年11月21日 0 点赞 0 评论 431 浏览 评分:0.0
C语言!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a, b, c; while (~scanf("%d%d%d", &a, &b, &c)) { if …… 题解列表 2023年12月10日 0 点赞 0 评论 589 浏览 评分:9.9
java 陈教主的三角形 摘要:解题思路:注意事项:构成三角形的条件是:1,任意两边之和大于第三边 2,任意两边之差小于第三边。参考代码:…… 题解列表 2023年12月29日 0 点赞 0 评论 405 浏览 评分:9.9