5 - Winter is Here
CodeChefOpen on judge ↗
###"If You Think This Has A Happy Ending, You Haven't Been Paying Attention." — $Ramsay$ As you know that whenever you get a new message it goes at the top of the list. Your task is just to print the position of every contact in list after getting $N$ Messages. initially the list is empty $NOTE$ : input is given in order of arrival of messages ###Input: - First line will contain In
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