Thor Hammer Code
CodeChefOpen on judge ↗
Thor, Odin's son, the God of Thunder and Lightning, is in the battlefield with the Frost Giants that live on Jotunheim. Mjolnir OR The Hammer is the principal weapon of Thor. The side of the hammer carries the inscription "Whosoever holds this hammer, if he be worthy, shall possess the power of Thor."(as said by Odin while eventually passing Mjolnir to his son) The Hammer has immense power that
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