Standings
- Solved · Time taken
+ Points · Solved · Time taken
+
+ Each problem is worth 100 points. Only your best submission per problem counts.
+
{standings.length > 0 ? (
{standings.map((entry) => (
@@ -201,13 +206,14 @@ export default async function ContestDetailPage({
#{entry.rank}
{entry.name}
- {entry.solvedCount} · {entry.penalty} min
+ {entry.score}/{contest.problems.length * 100} · {entry.solvedCount} solved ·{" "}
+ {entry.penalty} min
))}
) : (
- No accepted submissions yet.
+ No scored submissions yet.
)}
diff --git a/components/practice/problem-workspace.tsx b/components/practice/problem-workspace.tsx
index 2371991..bb6099a 100644
--- a/components/practice/problem-workspace.tsx
+++ b/components/practice/problem-workspace.tsx
@@ -63,6 +63,11 @@ const starterCode: Record