Educational Round 58: weak testcases in D

Revision en1, by csgocsgo, 2019-01-12 19:23:28

https://codeforces.net/contest/1101/submission/48260797 This solution is accepted. But this gives wrong answer on below testcase: 3 1601 1601 1601 1 2 2 3 the actual answer should be 3. But this solution gives 1. Please check this issue.

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English csgocsgo 2019-01-12 19:23:28 284 Initial revision (published)