Picnic with Chef
Chef decided to make a big picnic. He chose a beautiful place for this special event. Then, Chef placed $N$ picnic baskets on the ground at some points. The only thing remaining is placing some picnic blankets underneath the baskets in such a way that each basket lies on at least one blanket (the blankets are allowed to overlap and each basket may lie on more than one blanket). Each picnic blanke
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