The Base Sum
CodeChefOpen on judge ↗
Shyam loves a girl called Neeta.Neeta is the favourite student of his teacher.So the teacher had given her a task to find The Base Sum of a given number.A Base Sum of a given number is obtained by the following steps: - a. Convert the number into given base. - b. Compute the sum of the second and third digit of the obtained number. The sum is then obtained is termed as The Base Sum of a give
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