We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 31a421b commit 4819af8Copy full SHA for 4819af8
_MonthlyChallenges/update_scoreboard.py
@@ -62,16 +62,18 @@ def main():
62
continue
63
64
print(f"username: {username}, algorithm: {algorithm}, problem_id: {problem_id}")
65
-
+ print(f"users: {users}")
66
# 챌린지 유형에 포함되어 있는지 확인 (예: "그래프", "DP")
67
if algorithm not in CHALLENGE_TYPES:
68
continue # 챌린지 대상이 아니면 무시
69
70
# 사용자의 기록이 없으면 초기화
71
+ print("사용자의 기록이 없으면 초기화")
72
if username not in users:
- scoreboard[username] = initialize_user()
73
+ users[username] = initialize_user()
74
75
# 해당 유형 문제 번호를 중복 없이 추가
76
+ print("해당 유형 문제 번호를 중복 없이 추가")
77
if problem_id not in users[username].get(algorithm, []):
78
users[username][algorithm].append(problem_id)
79
0 commit comments