I have been trying to solve this problem https://code.google.com/codejam/contest/11274486/dashboard#s=p3 for sometime now. I am not getting what the approach to solve would be. Could someone give me a hint for this? I know the standard algorithms, and managed to crack the first 3 on my own.
check this