Study

    [백준] 2108번: 통계학 (Python)

    풀이 import sys from collections import Counter cnt = int(sys.stdin.readline()) numbers = [] for i in range(cnt): num = int(sys.stdin.readline()) numbers.append(num) if cnt == 1: print(numbers[0], numbers[0], numbers[0], 0, sep='\n') else: numbers.sort() mode = Counter(numbers).most_common(2) print(round(sum(numbers)/cnt)) print(numbers[cnt//2]) if mode[0][1] == mode[1][1]: print(mode[1][0]) else:..

    Software 1.0 vs Software 2.0

    Software 1.0과 Software 2.0은 일종의 프로그래밍의 기술의 방법이다. Software 2.0이 나온 이후로 딥러닝은 엄청난 속도로 발전했다. 그렇다면 Software 1.0과 Software의 2.0이란 무엇이고 그 차이는 무엇일까? 먼저, Software 1.0의 정의는 다음과 같다. The “classical stack” of Software 1.0 is what we’re all familiar with — it is written in languages such as Python, C++, etc. It consists of explicit instructions to the computer written by a programmer. By writing each line of ..