Please subscribe to the official Codeforces channel in Telegram via the link: https://t.me/codeforces_official. ×

weak test case in http://codeforces.com/contest/1023/problem/D
Difference between en1 and en2, changed 2 character(s)
1. http://codeforces.com/contest/1023/submission/41721425↵
2.
 http://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)