I was looking at this problem [A. Laptops](https://codeforces.me/contest/456/problem/A) and I found an accepted solution : https://codeforces.me/contest/456/submission/19548093. ↵
↵
but I don't see how it got accepted. ↵
↵
This solution **shouldn't work** for this testcase: ↵
$$↵
\\↵
3\\↵
1\;2\\↵
2\;3 \\↵
3\;4\\↵
$$↵
↵
Am I missing something here? ↵
Sorry if it's too noobish to ask.
↵
but I don't see how it got accepted. ↵
↵
This solution **shouldn't work** for this testcase: ↵
$$↵
\\↵
3\\↵
1\;2\\↵
2\;3 \\↵
3\;4\\↵
$$↵
↵
Am I missing something here? ↵
Sorry if it's too noobish to ask.