DUNI AND CATS TOWN
CodeChefOpen on judge ↗
There are $N$ numbers of cats live in a town & each cat has it’s own cat-house. Note all the cat-houses are in a row from left to right facing north. Little girl Duni often visit the cats’ town to see the cats but at the time of her visit there may or may not be all cats are available at it’s own house so, Duni makes a note every time she visit. Usually she starts looking cat-house from right to l
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