Need Help!
I'm getting TLE again & again for this problem . here is my solution . Please help me how would i optimize my approach ?
Codeforces Round 1123 Solution Discussion