Admins,
Please take note of this blog on codeforces. It has an implementation of suffix arrays which was used by many people to solve Mountain Holidays question. This certainly doesn't qualify as cheating because blogs are for everybody to read and learn.