Skip to content

Commit

Permalink
Merge pull request #236 from yosupo06/feature/hack
Browse files Browse the repository at this point in the history
minor refactor
  • Loading branch information
yosupo06 authored Aug 4, 2024
2 parents 3251773 + 6641e4b commit 1ccb8d0
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions src/pages/HackInfo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -111,8 +111,15 @@ const OverView: React.FC<{
</TableCell>
<TableCell>{overview.userName ?? "(Anonymous)"}</TableCell>
<TableCell>{overview.status}</TableCell>
<TableCell>{overview.time?.toString()}</TableCell>
<TableCell>{overview.memory?.toString()}</TableCell>
<TableCell>
{overview.time ? Math.round(overview.time * 1000) : "-"} ms
</TableCell>
<TableCell>
{overview.memory
? (Number(overview.memory) / 1024 / 1024).toFixed(2)
: "-"}{" "}
Mib
</TableCell>
</TableRow>
</TableBody>
</Table>
Expand Down

0 comments on commit 1ccb8d0

Please sign in to comment.