From e6f23b210129fa25c8025ff6120cf0aee353edc5 Mon Sep 17 00:00:00 2001 From: songyc macbook Date: Sat, 6 Dec 2025 21:44:14 +0900 Subject: [PATCH] baekjoon 20251206 --- code_study/Baekjoon/c/11049.c | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 code_study/Baekjoon/c/11049.c diff --git a/code_study/Baekjoon/c/11049.c b/code_study/Baekjoon/c/11049.c new file mode 100644 index 0000000..e4578f1 --- /dev/null +++ b/code_study/Baekjoon/c/11049.c @@ -0,0 +1,34 @@ +#include +#include + +#define MAX INT_MAX + +int size[501][2]; +int dp[501][501]; + +int min(int a, int b) { return a>b ? b : a; } + +int main() { + int N; + scanf("%d",&N); + + for(int i=1; i<=N; i++) scanf("%d %d",&size[i][0], &size[i][1]); + + for(int len=1; len