Notice
Recent Posts
Recent Comments
Link
250x250
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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
- 너비 우선 탐색
- Lv. 2
- 파이썬
- 동적계획법
- dfs
- level 3
- group by
- javascript
- 프로그래머스
- 자바스크립트
- SQL 고득점 KIT
- Lv. 3
- 백준
- Lv. 0
- Dynamic Programming
- Python
- softeer
- LEVEL 2
- 티스토리챌린지
- 소프티어
- bfs
- DP
- 오블완
- Baekjoon
- SQL
- join
- Java
- 깊이 우선 탐색
- Lv. 1
- programmers
Archives
- Today
- Total
목록우물안개구리 (1)
몸과 마음이 건전한 SW 개발자
Softeer level3 우물 안 개구리 Python
문제 링크 : https://softeer.ai/practice/info.do?idx=1&eid=394 Softeer 연습문제를 담을 Set을 선택해주세요. 취소 확인 softeer.ai 정답 코드 import sys input = sys.stdin.readline N, M = map(int, input().split()) # N개의 역기 weightList = [0] + 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) result = 0 for p in r..
알고리즘
2023. 8. 28. 23:39