Bells of Pilgrimage
The Child of Prophecy has embarked on a journey to save the land of the Fae. On her journey, she must ring $N$ Bells of Pilgrimage. The Child of Prophecy has an initial mana level of $P$. After that: - Each of the first $X$ bells she rings will increase her mana level by $10$. - Each of the remaining bells will increase her mana level by $5$. - As a bonus, once the final bell is rung, her mana
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