can you give me hint

My question here.

https://www.facebook.com/hackercup/problem/359971574540051/
Last edited on
@tpb ? @lastcgance ?
Last edited on
Do you understand the problem? Can you implement a brute-force solution that solves the example?
oh, sorry my actual question is this (https://www.facebook.com/hackercup/problem/180494849326631/)
i mentioned other question link which i don't attempt still now.
I think if you draw some pictures you'll find that the possibilities are severely limited.
Topic archived. No new replies allowed.