MADNESS IN MULTIVERSE
CodeChefOpen on judge ↗
Dr strange is experimenting with the portals to parallel universes and multiple dimensions. But there’s a catch. For opening a portal, he must provide a special sequence of numbers, called **‘Agamotto numbers’.** Agamotto Number is a number whose numeral is rotationally symmetric. So that it appears the same when rotated 180 degrees. In other words, **Agamotto Numbers** appear the same right si
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