Waiting Time
Chef is eagerly waiting for a piece of information. His secret agent told him that this information would be revealed to him after $K$ weeks. $X$ days have already passed and Chef is getting restless now. Find the number of **remaining** days Chef has to wait for, to get the information. It is guaranteed that the information has not been revealed to the Chef yet. ### Input - The first line of i
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