Problem 6 -- Alien Math
CodeChefOpen on judge ↗
Professor Plum likes to read science fiction books before going to sleep each night. One night he had a very realistic dream of aliens having 6-fingers on each of 5 hands invading Earth. He knows it was just a dream, but just to be sure he wants to practice his base-30 mathematics to prepare for the alien invasion. He decided to use the digits: 0 – 9, A – T, and focus only on addition of non-negat
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