From 74486caba5c1e60a865c36267e94d4d659891ed5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B9=80=EC=88=98=ED=98=84?= Date: Fri, 26 Jul 2024 01:10:55 +0900 Subject: [PATCH] =?UTF-8?q?2024-07-24=20=EB=82=98=EB=AC=B4=20=EC=9E=90?= =?UTF-8?q?=EB=A5=B4=EA=B8=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 공백 제거 --- .../12-suhyun113.cpp" | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git "a/suhyun113/\354\235\264\353\266\204 \355\203\220\354\203\211/12-suhyun113.cpp" "b/suhyun113/\354\235\264\353\266\204 \355\203\220\354\203\211/12-suhyun113.cpp" index 08a08f5..848d4ec 100644 --- "a/suhyun113/\354\235\264\353\266\204 \355\203\220\354\203\211/12-suhyun113.cpp" +++ "b/suhyun113/\354\235\264\353\266\204 \355\203\220\354\203\211/12-suhyun113.cpp" @@ -6,7 +6,7 @@ using namespace std; // 절단기에 지정한 나무의 높이 H로 나무를 자름 // H보다 크면 자르기(작으면, 값이 0 또는 음수로 나옴) -bool can_cut(vector& trees, int H, int M) { +bool can_cut(vector& trees, int H, int M) { long long total = 0; // 자른 나무들의 총 합 for (int tree : trees) { if (tree > H) {