Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- dfs
- javascript
- Dynamic Programming
- bfs
- softeer
- SQL 고득점 KIT
- 오블완
- Baekjoon
- group by
- Python
- select
- 프로그래머스
- join
- SQL
- Lv. 2
- 깊이 우선 탐색
- 백준
- Lv. 0
- 소프티어
- LEVEL 2
- 너비 우선 탐색
- DP
- Lv. 1
- Java
- programmers
- 자바스크립트
- 티스토리챌린지
- Lv. 3
- level 3
- 파이썬
Archives
- Today
- Total
목록슈퍼컴퓨터 클러스터 (1)
몸과 마음이 건전한 SW 개발자
Softeer [Level 3] 슈퍼컴퓨터 클러스터 {언어 : Python}
문제 링크 https://softeer.ai/practice/6252 Softeer - 현대자동차그룹 SW인재확보플랫폼 softeer.ai 정답 코드 import sys N, B = map(int, input().split()) computers = sorted(list(map(int, input().split()))) left = 1 right = 2000000000 minV = 2000000000 while left currentMoney: right = mid - 1 break currentMoney -= cost else: left = mid + 1 print(right) 풀이 방법 찾으려고 하는 값(mid)이 최저성능의 컴퓨터의 값이다. 최저값은 당연히 1 최고값은 최저성능의 컴퓨터의 값 (1
알고리즘
2024. 3. 8. 00:10