Long JAN15 - One Dimensional Kingdoms - Time Limit

@shubham11 did you try cross checking your statement ? My solution got perfect score in GCDQ with python and so did many others. Please check.