Beautiful Garden
CodeChefOpen on judge ↗
Problem description There is one boy called Rakshit, he liked a girl named Reshma. Rakshit has been trying his luck for quite some time and has also proposed Reshma. Now Reshma is kind of girl who loves flower and tells Rakshit that she will only accept his proposal if and only if he creates a Beautiful Garden for her. The flowers in the garden are planted in a single row. So Rakshit went on to
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