Problem with codechef April [long] 2017 Dish of Life.
Upd: [ it's ok now ]
Codeforces Round 950 Solution Discussion