(CH) Serejs and Billiards
# Sereja's Billiards Problem Sereja likes to play billiards. Here is simplified version of it. Initially there is a table of size **N×N**. The table is divided by **N+1** horizontal and **N+1** vertical lines. The lines are numbered from **0** to **N** from left to the right and in the same way from **0** in the top to **N** in the bottom. The intersection of the horizontal Line **i** and the v
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