I Promised to Fight for the Living
CodeChefOpen on judge ↗
**Jaime Lannister** has abandoned his sister and lover **Cersei**, and now has come to Winterfell to fight against **the army of the dead**. He along with others has to study the weaknesses of White Waker Army. This can be done by monitoring $N$ strings. The $N$ strings are $A_1, A_2, \ldots, A_N$. $A_i$ is said to be the string with index $i$. He with Bronn has to make a **set S compri
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