列表注意还原为空列表
摘要:解题思路:注意事项:参考代码:while True: a,b,c=map(int,input().split()) d=[a,b,c] xx=sorted(d) if xx[0……
编写题解 1387: 陈教主的三角形
摘要:解题思路:注意事项:参考代码://行测试数据,每行包含两个整数a和b(0<a,b<=100),表示长方形的长和宽。当a和b同时为0时,表示输入结束
#include<stdio.h>
int ma……
陈教主的三角形(Java)
摘要:解题思路:注意事项:参考代码:import java.util.Scanner;
public class Main {
public static void main(String[] a……
C语言!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a, b, c; while (~scanf("%d%d%d", &a, &b, &c)) { if ……
java 陈教主的三角形
摘要:解题思路:注意事项:构成三角形的条件是:1,任意两边之和大于第三边 2,任意两边之差小于第三边。参考代码:……