Captain Marvel
CodeChefOpen on judge ↗
Nick fury sends encoded message to captain marvel regarding shield base number where she need to go so she can know about the emergency. There are three integers defining the shield location in the message. First two numbers of the message forms a sequence of numbers. Sequence is such that sum of previous two numbers forms present number. Initial numbers are the first two numbers of the message.
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