Python

·Algorithm/백준
[문제]https://www.acmicpc.net/problem/11559 BFS를 이용한 단순 구현문제였습니다. 아래 문제와 유사합니다.https://swexpertacademy.com/main/code/problem/problemDetail.do?contestProbId=AWXRQm6qfL0DFAUo SW Expert AcademySW 프로그래밍 역량 강화에 도움이 되는 다양한 학습 컨텐츠를 확인하세요!swexpertacademy.com[초기화] def __init__(self): self.stage = [list(input()) for _ in range(12)] self.directions = [[-1, 0], [1, 0], [0, -1], [0, 1]] # 상하좌..
WOOJAE  JO
'Python' 태그의 글 목록 (4 Page)