weak test case in http://mirror.codeforces.com/contest/1023/problem/D
Difference between en1 and en2, changed 2 character(s)
1. http://mirror.codeforces.com/contest/1023/submission/41721425↵
2.
 http://mirror.codeforces.com/contest/1023/submission/41707260↵
both the solution is accepted but they are giving completely different answer for test case: 6 4(n=6,q=4) ↵
4 4 3 3 4 4.↵
the right answer is "NO",but the first submission is printing "YES".please check this issue.

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en2 English csgocsgo 2018-08-18 11:19:40 2
en1 English csgocsgo 2018-08-18 11:15:13 392 Initial revision (published)