Weak test cases for the problem B of Codeforces Round 662 (div 2).

Revision en1, by kritinsharma, 2020-08-07 21:14:30

My solution for the problem 1393B - Applejack and Storages of the contest Codeforces Round 662 (Div. 2) failed the main tests so I was looking for the correct solution in other participants' code and found an incorrect submission that passed the main tests.
Submission : 89237180
This solution fails for the test case
5
1 1 1 1 1
1
+ 1
The output should be NO but the code outputs YES. This means many incorrect submissions might have been accepted. I kindly request Codeforces people and AlFlen to look into the matter.

Tags codeforces

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English kritinsharma 2020-08-07 21:14:30 630 Initial revision (published)