일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |
Tags
- springboot3.x
- Python
- 크롤링
- nav-tab
- algotythm
- 13237
- dp
- 16.04
- 라즈베리파이3b+
- CSS
- NAV
- node.js
- 2909
- bootstrap
- 라즈비안
- baekjun
- dynaminprogramming
- Algorythm
- 2579
- 파이썬
- 라즈베리파이
- 알고리즘
- MongoDB
- HTML
- 트리
- Crawling
- 라즈베리파이3
- raspberrypi
- 백준
- ubuntu
Archives
- Today
- Total
노트
[백준] 11399번 ATM python 본문
n = int(input())
time = list(map(int,input().split()))
time = sorted(time)
for i in range(1,n):
time[i] = time[i]+time[i-1]
print(sum(time))
'알고리즘' 카테고리의 다른 글
[백준] 7785번 회사에 있는 사람 python (0) | 2024.01.11 |
---|---|
[백준] 1417번 국회의원 선거 python (0) | 2023.12.09 |
[백준] 13565번 침투 python (1) | 2023.11.26 |
[백준] 14493번 과일노리 python (1) | 2023.10.01 |
[백준] 2579번 계단 오르기 python (0) | 2023.09.22 |
Comments