I've implemented this problem two different ways and I have WA9 on both of them. I'm possibly interpreting the problem wrong, but I've read the problem over and over again and I cannot come up with an alternative interpretation. Can someone please shine some light?
You are mistaken removing your message. I think that the problem is difficult, many solvers used random searh and brute forse and with n->1000 number of have solved will -> 10-30 So talk about algo was helpfull.