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
- websecurityconfiguration
- bytebuddyinterceptor
- baekjoon 14714
- 단지 번호붙이기
- 백준 2667 java
- baekjoon 4963
- springboot
- beakjoon11725
- spring boot
- baekjoon 16953
- backjoon 16173
- baekjoon 2667
- 안전영역 java
- baekjoon
- baekjoon 3187
- java.lang.nosuchmethoderror
- attvalue
- coding test
- html error
- exprectedbelow
- BFS
- 백준 현수막
- 백준 섬의갯수
- beakjoon 1697
- baekjoon 2468
- dfs
- beakjoon
- CodingTest
- Error
- baekjoon1012
Archives
- Today
- Total
목록CodingTest (2)
NOT FOUND
[코테] 백준 3187 양치기 꿍: DFS Java
해당 문제는 DFS보다 BFS로 더 많이 푸는 것 같다.난 DFS로 풀었다. https://www.acmicpc.net/problem/3187 1) 입력 부분 static int inWolf = 0; static int inSheep = 0; // 빈 공간 = . // 울타리 = # // 늑대 = v 양 = k public static void main(String[] args) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); StringTokenizer st = new StringTokenizer(br.readLine()); ..
coding test
2025. 5. 6. 11:46
[코테] 백준 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