(Challenge) Coloring Triangulations
After solving the $64 \times 64 \times 64$ Rubik's cube, Chef Ada moved to arts. For her next masterpiece, Ada drew an abstract painting as follows: - $N$ points (numbered $1$ through $N$) are painted on a 2D canvas. Some of these points are red ('R'), some are blue ('B') and the rest are green ('G'). No three points are collinear. - A triangulation, i.e. a maximum set of non-intersecting triangl
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