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 | 31 |
Tags
- beakjoon11725
- baekjoon 2667
- beakjoon
- Error
- coding test
- exprectedbelow
- 안전영역 java
- 단지 번호붙이기
- baekjoon 2468
- bytebuddyinterceptor
- baekjoon 4963
- baekjoon
- attvalue
- websecurityconfiguration
- springboot
- backjoon 16173
- baekjoon 14714
- 백준 2667 java
- CodingTest
- BFS
- spring boot
- java.lang.nosuchmethoderror
- baekjoon1012
- baekjoon 16953
- beakjoon 1697
- baekjoon 3187
- html error
- 백준 현수막
- dfs
- 백준 섬의갯수
Archives
- Today
- Total
목록2025/05/03 (1)
NOT FOUND
[코테] 백준 2606 바이러스: DFS Java
https://www.acmicpc.net/problem/2606 DFS로도 풀 수 있고 BFS로도 풀 수 있는 문제다.난 DFS로 풀었다. 두가지 부분을 나눠 보면 된다.1) 값을 입력 받는 부분2) dfs 함수 부분 1) 값 입력 부분public static void main(String[] args) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); int num = Integer.parseInt(br.readLine()); // 컴퓨터 수 int connections = Integer.parseInt(br.readLine()); // 연결 수..
coding test
2025. 5. 3. 22:23