5073번

Programming/Coding Problem

BOJ 5073번: 삼각형과 세 변

핵심 포인트 기초 구현력 삼각형 종류 숙지 제출코드 while True: length = list(map(int, input().split())) if sum(length) == 0: break temp = length[::] max_value = max(temp) temp.remove(max_value) if max_value >= sum(temp): print('Invalid') elif length[0] == length[1] == length[2]: print('Equilateral') elif (length[0] == length[1]) or (length[1] == length[2]) or (length[2] == length[0]): print('Isosceles') else: print('..

Johns Hohns
'5073번' 태그의 글 목록