Notice
Recent Posts
Recent Comments
Link
목록19238 (1)
나의 개발일지
문제 : https://www.acmicpc.net/problem/19238 BFS from collections import deque from heapq import heappop, heappush n, m, e = map(int, input().split()) # 맵크기, 승객 수, 연료 양 Map = [list(map(int, input().split())) for _ in range(n)] taxi = list(map(int, input().split())) # 택시 좌표 pa_lst = [] # 사람, 도착 좌표 리스트 for i in range(m): px, py, ax, ay = map(int, input().split()) # 출발 행, 열, 목적지 행, 열 Map[px-1][py-1] ..
백준
2023. 9. 22. 16:49