From 15cd2dbadafbba3c482a5ee436091c2ff8d51e23 Mon Sep 17 00:00:00 2001 From: gayo73 <163620291+gayo73@users.noreply.github.com> Date: Wed, 22 Jul 2026 22:15:29 +0900 Subject: [PATCH] =?UTF-8?q?2016=EB=85=84.java?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- "Programmers/Gayo/2016\353\205\204.java" | 25 ++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 "Programmers/Gayo/2016\353\205\204.java" diff --git "a/Programmers/Gayo/2016\353\205\204.java" "b/Programmers/Gayo/2016\353\205\204.java" new file mode 100644 index 0000000..e5688d7 --- /dev/null +++ "b/Programmers/Gayo/2016\353\205\204.java" @@ -0,0 +1,25 @@ +class Solution { + public String solution(int a, int b) { + String answer = ""; + + int[] lastDays = {31, 29, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31}; + + int totalDays = 0; + for(int i=0; i