← All problemsSign in

Make Odd

CodeChefRating 1203Open on judge ↗

You are given two **binary** strings $A$ and $B$, each of length $N$. Your task is to make your $score$ odd which is initially $0$ by choosing $N$ elements such that: - For each index $i$ ($1 \leq i \leq N$), you will select either $A_i$ or $B_i$. - If the character you select is equal to "1", add $1$ to the $score$. If the character is "0", add nothing. Your goal is to determine whether it is po

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