From 31a421b9551221c6c2d431ce759cefd20811b929 Mon Sep 17 00:00:00 2001 From: Minjeong Kim <101111603+Mingguriguri@users.noreply.github.com> Date: Sun, 6 Apr 2025 18:58:14 +0900 Subject: [PATCH 1/2] =?UTF-8?q?test:=20test=EC=9A=A9=20=EC=BD=94=EB=93=9C?= =?UTF-8?q?=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- minjeong/test.txt | 0 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 minjeong/test.txt diff --git a/minjeong/test.txt b/minjeong/test.txt new file mode 100644 index 00000000..e69de29b From 4819af81226c56d947563baa556f3e2e387c6254 Mon Sep 17 00:00:00 2001 From: Minjeong Kim <101111603+Mingguriguri@users.noreply.github.com> Date: Sun, 6 Apr 2025 22:29:56 +0900 Subject: [PATCH 2/2] =?UTF-8?q?fix:=20=20=EB=94=95=EC=85=94=EB=84=88?= =?UTF-8?q?=EB=A6=AC=20=ED=82=A4=20=EC=A0=91=EA=B7=BC=20=EC=97=90=EB=9F=AC?= =?UTF-8?q?=20=ED=95=B4=EA=B2=B0=ED=95=98=EA=B8=B0=20=EC=9C=84=ED=95=B4=20?= =?UTF-8?q?=20scoreboard=EC=9D=98=20=EA=B5=AC=EC=A1=B0=EB=A5=BC=20?= =?UTF-8?q?=EC=9D=BC=EA=B4=80=EB=90=98=EA=B2=8C=20"users"=20=ED=95=98?= =?UTF-8?q?=EC=9C=84=EB=A1=9C=20=EA=B4=80=EB=A6=AC=ED=95=98=EB=8F=84?= =?UTF-8?q?=EB=A1=9D=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- _MonthlyChallenges/update_scoreboard.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/_MonthlyChallenges/update_scoreboard.py b/_MonthlyChallenges/update_scoreboard.py index 49bfe119..3e38eaad 100644 --- a/_MonthlyChallenges/update_scoreboard.py +++ b/_MonthlyChallenges/update_scoreboard.py @@ -62,16 +62,18 @@ def main(): continue print(f"username: {username}, algorithm: {algorithm}, problem_id: {problem_id}") - + print(f"users: {users}") # 챌린지 유형에 포함되어 있는지 확인 (예: "그래프", "DP") if algorithm not in CHALLENGE_TYPES: continue # 챌린지 대상이 아니면 무시 # 사용자의 기록이 없으면 초기화 + print("사용자의 기록이 없으면 초기화") if username not in users: - scoreboard[username] = initialize_user() + users[username] = initialize_user() # 해당 유형 문제 번호를 중복 없이 추가 + print("해당 유형 문제 번호를 중복 없이 추가") if problem_id not in users[username].get(algorithm, []): users[username][algorithm].append(problem_id)