codedang
codedang copied to clipboard
feat(be): calculate contest participants score
Description
Contest에 참여한 Participants(User들)의 점수를 계산하는 feature를 개발했습니다.
close #1238
Additional context
-
ContestProblem
에서score
field의 의미 변경(원래는 대회에서 각 문제들이 갖는 점수의 비율을 의미했는데, 이제는 문제가 갖는 점수 그 자체를 의미합니다.) -
ContestRecord
에 Pariticipant가 가장 최근에 AC를 받은 시각인 finishTime field를 추가했습니다. 리트 코드 예시 참고
Before submitting the PR, please make sure you do the following
- [x] Read the Contributing Guidelines
- [x] Read the Contributing Guidelines and follow the Commit Convention
- [x] Provide a description in this PR that addresses what the PR is solving, or reference the issue that it solves (e.g.
fixes #123
). - [x] Ideally, include relevant tests that fail without this PR but pass with it.
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Updated (UTC) |
---|---|---|---|
codedang | ✅ Ready (Inspect) | Visit Preview | Jul 22, 2024 8:51am |
close 하려는 이슈 언급해주세요오 !
노션 Task도 업데이트 해주세요~~ (pr 링크 연결도)
1238- 로 시작하는 브랜치가 여러갠데, 안 쓰는 브랜치는 지워주세요!
@gyunseo 이거 리뷰 하면 되나요?? 작업끝나셧나요!!
test fail난 것만 고치면 또 봐보겠습니다! ( 수정하기 전 코드는 제대로 실행되었어요 ! )