Today randomly i was seeing other people’s codes from our college of Snackdown Online Qualifier 2016 and i found this.
Link 1: https://www.codechef.com/viewsolution/10212413
Link 2: https://www.codechef.com/viewsolution/10215685
and this one also
Link 3: https://www.codechef.com/viewsolution/10232594
Link 4: https://www.codechef.com/viewsolution/10176568
These set of solutions are the same.Kindly take appropriate action on them.