Boom Boom Lala
CodeChefOpen on judge ↗
People of La La Land are of jolly nature. They celebrate all the festivals with enthusiasm and by burning fireworks. Lala, one of the La La Landian loves to watch fireworks. There are n sections in the main street of La La Land. These sections are numbered 1 through n from left to right. The adjacent sections are 1 unit distance apart. People of La La Land are celebrating festival "Poharu". In t
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