From 08a24bad218938f948cdb3701dae9e9fae40b847 Mon Sep 17 00:00:00 2001 From: sunJ Date: Wed, 13 Nov 2024 13:47:04 +0900 Subject: [PATCH] . --- Ssafy_test/src/BOJ/silver2/BOJ_11048.java | 51 +++++++++++++++++++++++ Ssafy_test/src/BOJ/silver2/BOJ_1912.java | 38 +++++++++++++++++ Ssafy_test/src/BOJ/silver3/BOJ_11727.java | 2 +- 3 files changed, 90 insertions(+), 1 deletion(-) create mode 100644 Ssafy_test/src/BOJ/silver2/BOJ_11048.java create mode 100644 Ssafy_test/src/BOJ/silver2/BOJ_1912.java diff --git a/Ssafy_test/src/BOJ/silver2/BOJ_11048.java b/Ssafy_test/src/BOJ/silver2/BOJ_11048.java new file mode 100644 index 0000000..017ba5e --- /dev/null +++ b/Ssafy_test/src/BOJ/silver2/BOJ_11048.java @@ -0,0 +1,51 @@ +package BOJ.silver2; + +import java.util.*; +import java.io.*; + +public class BOJ_11048 { + + public static void main(String[] args) throws IOException{ + BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); + BufferedWriter bw = new BufferedWriter(new OutputStreamWriter(System.out)); + + StringTokenizer st = new StringTokenizer(br.readLine()); + + int n = Integer.parseInt(st.nextToken()); + int m = Integer.parseInt(st.nextToken()); + + int[][] ll = new int[n][m]; + int[][] dp = new int[n][m]; + + //초기값 저장 + for(int i = 0; i