Can anyone help me debug why using set gives WA while using vector doesn't ? Here is my Submission: https://codeforces.com/contest/1107/submission/102257173 Here is the problem: https://codeforces.com/contest/1107/problem/C
Help needed in debugging
Can anyone help me debug why using set gives WA while using vector doesn't ? Here is my Submission: https://codeforces.com/contest/1107/submission/102257173 Here is the problem: https://codeforces.com/contest/1107/problem/C