← All problemsSign in

B - Tuadda Even Even, Sadda Even Dead Even

Deepak is a very lazy student he haven't submitted any of his assignments, but his teacher is kind and gave him a last chance. This time Deepak's teacher gave him $N$ positive integers and want Deepak to write down the smallest possible $Dead Even$ number which can be generated from the digits of given integer $X$. if it is not possible to generate the even number print -1. Dead even is defin

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.

voice by Sarvam AI

Sign in to chat with the tutor and save your progress.

Sign in to start