The Grand Party
CodeChefOpen on judge ↗
Chef is visiting Netaji Subhash Engineering College in the month of October. The authority planned to set up a welcome programme for Chef. The programme includes a party within the college. To make things look grand, the glasses will be kept in a triangular fashion in such a way that the glasses along the left margin of the triangular structure(including the topmost glass) will be green in color a
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