aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--content/2_Bronze/Rect_Geo.mdx12
-rw-r--r--content/5_Plat/DP_More.mdx2
-rw-r--r--src/components/ModuleLayout/ModuleLayout.tsx2
3 files changed, 8 insertions, 8 deletions
diff --git a/content/2_Bronze/Rect_Geo.mdx b/content/2_Bronze/Rect_Geo.mdx
index ca83c39..657804e 100644
--- a/content/2_Bronze/Rect_Geo.mdx
+++ b/content/2_Bronze/Rect_Geo.mdx
@@ -89,13 +89,13 @@ To create a new rectangle, use the following constructor:
Rectangle newRect = new Rectangle(x, y, width, height);
```
-The `Rectangle` class supports numerous useful methods.
+The `Rectangle` class supports numerous useful methods, including the following:
- - `firstRect.intersects(secondRect)` checks if two rectangles intersect.
- - `firstRect.union(secondRect)` returns a rectangle representing the union of two rectangles.
- - `firstRect.contains(x, y)` checks whether the integer point $(x,y)$ exists in firstRect.
- - `firstRect.intersection(secondRect)` returns a rectangle representing the intersection of two rectangles.
- - what happens when intersection is empty?
+- `firstRect.intersects(secondRect)` checks if two rectangles intersect.
+- `firstRect.union(secondRect)` returns a rectangle representing the union of two rectangles.
+- `firstRect.contains(x, y)` checks whether the integer point $(x,y)$ exists in firstRect.
+- `firstRect.intersection(secondRect)` returns a rectangle representing the intersection of two rectangles.
+- what happens when intersection is empty?
This class can often lessen the implementation needed in a lot of bronze problems and CodeForces problems.
diff --git a/content/5_Plat/DP_More.mdx b/content/5_Plat/DP_More.mdx
index d5d4da7..21dafbf 100644
--- a/content/5_Plat/DP_More.mdx
+++ b/content/5_Plat/DP_More.mdx
@@ -1,7 +1,7 @@
---
id: dp-more
title: "More DP (come up with better name?)"
-author: ?
+author: "?"
description: "?"
frequency: 1
---
diff --git a/src/components/ModuleLayout/ModuleLayout.tsx b/src/components/ModuleLayout/ModuleLayout.tsx
index c3f7447..28ffb6b 100644
--- a/src/components/ModuleLayout/ModuleLayout.tsx
+++ b/src/components/ModuleLayout/ModuleLayout.tsx
@@ -469,7 +469,7 @@ export default function ModuleLayout({
{module.title}
</h1>
<p className={`text-gray-500`}>
- Author{module.author.indexOf(',') != -1 ? 's' : ''}:{' '}
+ Author{module.author.indexOf(',') !== -1 ? 's' : ''}:{' '}
{module.author}
</p>
</div>