25 lines
No EOL
1 KiB
Markdown
25 lines
No EOL
1 KiB
Markdown
---
|
|
id: rectangle-geometry
|
|
title: "Rectangle Geometry"
|
|
author: Darren Yao
|
|
---
|
|
|
|
The extent of "geometry" problems on USACO Bronze are usually quite simple and limited to intersections and unions of squares and rectangles.
|
|
|
|
<!-- END DESCRIPTION -->
|
|
|
|
- They usually only include two or three squares or rectangles, in which case you can simply draw out cases on paper. This should logically lead to a solution.
|
|
- Also, the coordinates typically only go up to $1000$, so a program that performs $\approx 1000^2$ operations (ex. with a nested for loop) should pass.
|
|
|
|
## Problems
|
|
|
|
- USACO Bronze
|
|
- [Fence Painting](http://usaco.org/index.php?page=viewproblem2&cpid=567)
|
|
- 1D geometry!!
|
|
- [Square Pasture](http://usaco.org/index.php?page=viewproblem2&cpid=663)
|
|
- [Blocked Billboard](http://usaco.org/index.php?page=viewproblem2&cpid=759)
|
|
- Rectangles
|
|
- [Blocked Billboard II](http://usaco.org/index.php?page=viewproblem2&cpid=783)
|
|
- Also rectangles
|
|
- Other
|
|
- [CF 587 (Div. 3) C: White Sheet](https://codeforces.com/contest/1216/problem/C) |