이 풀이는 왜 틀린걸까요??
import java.io.*;
import java.util.*;
public class Main {
static class Pair {
int x;
int y;
public Pair(int x, int y) {
this.x = x;
this.y = y;
}
}
static int[][] grid;
static boolean[][] visited;
static Pair[] must; // 반드시 방문해야 하는 지점들 목록
static List<Pair> arr = new ArrayList<>();
static int[][] move = {{0,1}, {0,-1}, {1,0}, {-1,0}}; // 상하좌우 dx dy 이동
static int possibleCase ...
- 연습문제 톡
- 날짜
- 2024-02-07 11:03:54
- 작성자
- jeny0124
- 댓글
- 0
#[hsat_7회_정기_코딩_인증평가_기출]_순서대로_방문하기