Perfect Strings
CodeChefOpen on judge ↗
Pradumn was eagerly waiting for republic day. This time his school organized a simple contest of solving a task, the winner who solves the problem fastest will be given the honors of hoisting the Indian National Flag in front of the whole school. The details of the task go as follows: There are n strings of equal lengths. We will say this set of strings is perfect only when, for each string, th
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