← All problemsSign in

Easy Geo xD

CodeChefRating 3053Open on judge ↗

Chef's house is an axis-parallel stripe-like building in a 3D Cartesian coordinate system. It contains all points with coordinates $(x, y, z)$, where $x_1 \le x \le x_2$ and $y_1 \le y \le y_2$; $z$ can be any real number. A plane $\{(x, y, z): ax + by + cz = d\}$ in this coordinate system intersects Chef's house. Chef's kitchen is the intersection of that plane and Chef's house. You know that

HINT LADDERno hints yet
L1 Observation
L2 Technique
L3 Approach
L4 Pseudo-code
🔒
L5 Full solution
L5 unlocks only if you insist twice
solution.cppC++17

CodeSearch Tutor

Hints, not spoilers — it won’t hand over the full solution unless you insist.

voice by Sarvam AI

Sign in to chat with the tutor and save your progress.

Sign in to start