Temple of Vidit
CodeChefOpen on judge ↗
There is a famous story about the Temple of Vidit in Hackerland. Vidit is the sole almighty gawd there, worshiped by all hackers. Everyone who goes to the temple gets a magical key as gift. The key can be molded into any key once. The gawd has infinite supply of such keys. If one is on a streak of N days to the temple, s/he gets N keys. All these keys can be used to unlock wallets containing coins
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