diff --git "a/Seol-JY/202504/02 BOJ G1 \354\231\270\355\214\220\354\233\220 \354\210\234\355\232\214.md" "b/Seol-JY/202504/02 BOJ G1 \354\231\270\355\214\220\354\233\220 \354\210\234\355\232\214.md" new file mode 100644 index 00000000..9dc679a5 --- /dev/null +++ "b/Seol-JY/202504/02 BOJ G1 \354\231\270\355\214\220\354\233\220 \354\210\234\355\232\214.md" @@ -0,0 +1,53 @@ +```java +import java.io.BufferedReader; +import java.io.IOException; +import java.io.InputStreamReader; +import java.util.*; + +public class Main { + static int N; + static int[][] map, dp; + static final int MAX_VALUE = 16_000_001; + + public static void main(String[] args) throws IOException { + BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); + StringTokenizer st; + + N = Integer.parseInt(br.readLine()); + map = new int[N][N]; + dp = new int[N][(1<