목록삼성 코테 (1)
-
[BOJ - JAVA] SSAFY 8기 코테 후기 + 16236 - 아기 상어 (시뮬레이션, BFS + DP), 삼성 코테 기출
# 주소 https://www.acmicpc.net/problem/16236 # 문제 # 문제 해설 및 코드 리뷰 package com.core.hello; import java.util.*; class Point{ int x; int y; int cnt; Point(int x, int y, int cnt){ this.x = x; this.y = y; this.cnt = cnt; } } class Main{ static int n; static int SIZE = 2; static int cnt = 0; static int answer = 0; static boolean[][] visit; static int[][] arr; static int[][] map; static Queue queue = new..
백준 문제 풀이
2022. 6. 6. 17:55