Big Joke in Educational Codeforces Round 14
contest standing and here is the test case
Leetcode Weekly 500 Solution Discussion