We have worked on this problem in a group and have come up with few completely different solutions. All the codes that get through in time get Wrong Answer, we have tried searching for some special cases, but everything is handled as it should be.
Could anyone provide some test data/special cases for this problem?
777 - Codebreakers
Moderator: Board moderators