절댓값1 [알고리즘] 2. 가장 낮은 절댓값 찾기 https://www.codingame.com/ide/puzzle/temperatures import sys import math # Auto-generated code below aims at helping you parse # the standard input according to the problem statement. n = int(input()) # the number of temperatures to analyse if n == 0: print("0") else: result = 5527 temperatures = input().split(' ') for i in range(n): t = int(temperatures[i]) if t == 0: result = t break elif abs(.. 2020. 8. 12. 이전 1 다음