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
- 파이썬
- 소프티어
- SQL
- level 3
- Lv. 1
- 깊이 우선 탐색
- Python
- softeer
- 프로그래머스
- Lv. 0
- bfs
- DP
- 백준
- Lv. 3
- group by
- Baekjoon
- 자바스크립트
- Lv. 2
- dfs
- Java
- javascript
- select
- Dynamic Programming
- 오블완
- join
- SQL 고득점 KIT
- 너비 우선 탐색
- programmers
- 티스토리챌린지
- LEVEL 2
Archives
- Today
- Total
목록우물 안 개구리 (1)
몸과 마음이 건전한 SW 개발자
Softeer Level 3 우물 안 개구리 Python
문제 링크 https://softeer.ai/practice/6289 Softeer - 현대자동차그룹 SW인재확보플랫폼 softeer.ai 정답 코드 import sys input = sys.stdin.readline N, M = map(int, input().split()) weights = list(map(int, input().split())) adjL = [[] for _ in range(N+1)] for _ in range(M): start, to = map(int, input().split()) adjL[start].append(to) adjL[to].append(start) V = [1 for _ in range(N+1)] for p in range(1, N+1): currentPW = we..
알고리즘
2024. 1. 29. 21:50