https://codeforces.net/contest/1148/submission/88665764 .Runtime error in https://codeforces.net/contest/1148/problem/D . I cannot figure out why there is runtime error, inspite of such low memeory being used. All the values are distinct in the problem.