일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- 알고리즘
- application.properties
- Application Runner
- 리소스핸들러
- 스프링 부트
- HttpMessageConverters
- AuthenticationPrincipal
- Application Argument
- HATEOAS
- 브루트포스
- EnableAutoConfiguration
- 외부설정
- rest api
- 백기선
- @ConfigurationProperties
- 다익스트라
- 백트래킹
- Application Event
- @Profile
- webjar
- Spring Security
- JsonSerializer
- 정적 리소스
- cors
- 리소스 서버
- 백준
- WebApplication Type
- OAuth2
- JPA
- 스프링부트
- Today
- Total
목록다익스트라 (3)
아카이브
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.LinkedList; import java.util.Queue; import java.util.StringTokenizer; /* 숨바꼭질 3 */ public class Main { static int N, K; static boolean[] visit; public static void main(String[] args) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); StringToke..
1753번: 최단경로 www.acmicpc.net package boj; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.*; /* 백준 1753번 최단거리 문제 다익스트라 인접리스트 (2차원 배열로 풀면 메모리 초과) */ public class p1753 { static int V, E; static int K; static List[] lists; public static final int INF = Integer.MAX_VALUE; public static void main(String[] args) throws IOException { Buffere..
1238번: 파티 www.acmicpc.net package boj; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.*; public class p1238 { static int N, M, X; static List[] go, back; // 단방향이라 가는거 오는거 2개로 static int[] distSum; static boolean[] visit; static PriorityQueue priorityQueue; public static void main(String[] args) throws IOException { BufferedReader br ..