Question in the competition (Q5): https://www.codechef.com/COW2018/problems/KLV
Question in Hackerearth : https://www.hackerearth.com/problem/algorithm/paul-hates-vk/
Question in the competition (Q6) : https://www.codechef.com/COW2018/problems/BP
Question in Hackerearth : https://www.hackerearth.com/problem/algorithm/bits-please/
Please check the solutions of all the teams of top 30 teams of the contest. Even the links of Question 4 is available when searched. Many of the solutions are same. Please ban this type of contests which have questions copied from other platforms since their solutions are easily available.