Will Chef be Dumped
CodeChefOpen on judge ↗
Chef and his girlfriend don’t think alike and are poles apart. They are deciding on a restaurant to spend their date, but they cannot decide on one place. They have made this simple task of choosing a restaurant very complex. They have randomly given a unique number to all N restaurants of tricity. For each K contiguous restaurants, Chef’s girlfriend has given Chef the task of finding the differen
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