Schedule Handling
CodeChefOpen on judge ↗
Harry is a busy person the fact that in his world, each week has $10$ days does not help him much. He has been assigned work for $N$ consecutive weeks. He created set $S$ of $schedules$ for the $N$ weeks. A $schedule$ is a set of days on which he has to work for each week. Formally, $schedule \subseteq \{1, 2, 3, 4, 5, 6, 7, 8, 9, 10\}$. Help harry find a non empty schedule $K$ such th
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