본문 바로가기

개발일지

검색하기
개발일지
프로필사진 devbh

  • 분류 전체보기 (41)
    • vue (5)
    • React (2)
    • 알고리즘 (18)
    • JPA (2)
    • Java (1)
    • HTML,CSS,JavaScript (7)
    • jQuery (0)
    • PHP (0)
    • Spring (4)
    • 기타 (2)
Guestbook
Notice
Recent Posts
Recent Comments
Link
«   2025/07   »
일 월 화 수 목 금 토
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 31
Tags
  • 위상정렬
  • SW Expert
  • 집합의 표현
  • Dag
  • 1249
  • VUE
  • 백준
  • CLI
  • CLI3
  • Union-Find
  • Rest
  • lombok
  • Helper
  • 유니온파인드
  • 구조화
  • RESTful
  • 보급로
  • eslint
  • CLI2
  • 배열돌리기
  • 모듈화
more
Archives
Today
Total
관리 메뉴
  • 글쓰기
  • 방명록
  • RSS
  • 관리

목록SW Expert (1)

개발일지

1249. [S/W - 보급로]

S/W 보급로 문제 : 보급로 설명 : 출발점(0,0)에서 도착점(N-1,N-1)까지 가는 최소 비용을 구하는 문제이다. dist배열을 선언하여 최소값들을 갱신하면서 bfs를 수행한다. 도착점인 dist[N-1][N-1] 이 답이다. import java.util.Arrays; import java.util.LinkedList; import java.util.Queue; import java.util.Scanner; public class Solution { static int dx[] = { 0, 1, 0, -1}; static int dy[] = { 1, 0, -1, 0}; static int[][] map,dist; static int N; static class Point{ int x, y, co..

알고리즘 2019. 11. 12. 14:05
Prev 1 Next

Blog is powered by kakao / Designed by Tistory

티스토리툴바