Non-Carry Sum
CodeChefOpen on judge ↗
Non-Carry sum of two integers is defined as the sum which is obtained when the numbers are added in a fashion in which the carry obtained while previous sum calculation is dropped. For example the Non-Carry sum of 5625 and 8924 is 3549. 5625 + 8924 _____ 3549 as the carry obtained by adding 6 and 9 at the hundreds place is ignored, so is the carry obtained at thousands place is ignored. Given
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