Delete Zeroes
CodeChefOpen on judge ↗
Hogwarts is conducting an exam in muggle maths for its students. Hermoine is good at math. Professor Dumbledore hates zeroes. She wants to impress her professor by removing all the zeroes from her answer sheet. She wants to do it in such a way that she doesnt make any mistakes and lose marks. Given two numbers a and b, if c = a + b, tell if the equation still holds true after removing all the zer
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