A Palindromic Game
CodeChefOpen on judge ↗
Recently, doing some research in a far away jungle, the references of an old civilization game have been found. According to those old papers, any number of players can take part. Initially a finite number of distinct words is written and then, every player try to guess what's the largest number of pairs of words A, B that can be chosen at the same time, such that each pair has the property that e
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