December challenge 2014 - RIN

the editorial link of this problem does not work. when i click it a page saying 404 error shows. can someone explain the idea behind solving this problem. thanks.

1 Like