This accepted solution shouldn't be accepted, right?

Revision en2, by hasanraj3100, 2024-01-11 09:39:42

I was looking at this problem A. Laptops 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.

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en2 English hasanraj3100 2024-01-11 09:39:42 2 Tiny change: 'on **shouln't work**' -> 'on **shouldn't work**'
en1 English hasanraj3100 2024-01-11 09:39:03 441 Initial revision (published)