A Game of Poool
CodeChefOpen on judge ↗
Pandit Ji was reminiscing about his youth days, when he used to be a renowned _Poool_ player. In specific, he remembers how he clutched the international championship with his last shot, against all odds. A game of _Poool_ is played on a rectangular table of dimensions $W \times H$. The bottom left corner has coordinates $\left(0, 0\right)$, and the top-right corner has coordinates $\left(W, H\ri
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.
Sign in to chat with the tutor and save your progress.
Sign in to start