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 | 29 |
30 |
Tags
- 99클럽
- EnvCommandError
- 백준
- 주니어개발자역량강화
- 항해99
- MomentumParameters
- not a git repository
- 파이썬 sep
- 코딩부트캠프후기
- 파이썬 int()
- 개발자스터디
- 파이썬 |
- 코딩테스트
- fatal:not a git repository
- Til
- 99클럽 #99일지 #코딩테스트 #개발자스터디 #항해 #til
- 파이썬 map 함수
- vscode cp949
- 주니어개발자멘토링
- 99일지
- 개발자사이드프로젝트
- cp949
- print sep
- Fatal Python error: init_fs_encoding: failed to get the Python codec of the filesystem encoding
- 항해
- 파이썬
- 항해플러스
- 파이썬 클래스
- print("""
- 10430번
Archives
- Today
- Total
목록2024/06/12 (1)
선발대
![](http://i1.daumcdn.net/thumb/C150x150/?fname=https://blog.kakaocdn.net/dn/btSI1Q/btsHXtd9RDY/tCst8TjMkCUFY6KgkJnV30/img.png)
프로그래머스: 가장 먼 노드 (링크) from collections import dequedef solution(n, edge): A = [[] for _ in range(n+1)] # 그래프 데이터 visited = [-1] * (n+1) # 방문 거리 저장 리스트 answer = 0 # 최대 거리 노드 개수 # 그래프 데이터 저장 for line in edge: A[line[0]].append(line[1]) A[line[1]].append(line[0]) # 큐 자료구조에 시작 노드 삽입 queue = deque() queue.append(1) while queue: # 현재 노드 가져..
스파르타코딩클럽/활동 내용
2024. 6. 12. 23:44