← All problemsSign in

Different String

CodeChefRating 1612Open on judge ↗

You are given $N$ binary strings of length $N$ each. You need to find a binary string of length $N$ which is different from all of the given strings. Note: - A binary string is defined as a string consisting only of `'0'` and `'1'`. - A string is considered different from another string when they have different lengths, or when they differ in at least one position. ### Input - The first line wi

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