Skip to content

Commit 6957653

Browse files
committed
- fix calculation of max points^
1 parent b501f66 commit 6957653

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/client/problems/components/NumberOfProblems.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,22 +38,22 @@ const NumberOfProblems = (props: NumberOfProblemsProps) => (
3838
<tr>
3939
<td>Easy</td>
4040
<td>{props.easy}</td>
41-
<td>{props.easy * 10 + props.easy}</td>
41+
<td>{props.easy * 10}</td>
4242
</tr>
4343
<tr>
4444
<td>Medium</td>
4545
<td>{props.medium}</td>
46-
<td>{props.medium * 30 + props.medium}</td>
46+
<td>{props.medium * 30}</td>
4747
</tr>
4848
<tr>
4949
<td>Hard</td>
5050
<td>{props.hard}</td>
51-
<td>{props.hard * 50 + props.hard}</td>
51+
<td>{props.hard * 50}</td>
5252
</tr>
5353
<tr>
5454
<td> </td>
5555
<td>{props.easy + props.medium + props.hard}</td>
56-
<td>{props.easy * 10 + props.easy + props.medium * 30 + props.medium + props.hard * 50 + props.hard}</td>
56+
<td>{props.easy * 10 + props.medium * 30 + props.hard * 50}</td>
5757
</tr>
5858
</tbody>
5959
</Table>

0 commit comments

Comments
 (0)