Codeforces Round 1133 (Div. 1, Div. 2) is coming soon! Register here. ×

D. Cat, Fox and Maximum Array Split is wrongly set

Revision en1, by GusavoIsYou, 2026-07-10 14:46:23

My solution https://codeforces.me/contest/1973/submission/381965363 wrongly passes al the test cases for the problem when for:

$$$n = 10$$$

$$$k = 3$$$

$$$a = [1, 1, 1, 1, 1, 1, 1, 1, 1, 1]$$$

it asks $$$29 \gt 2n$$$ total queries.

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English GusavoIsYou 2026-07-10 14:46:23 290 Initial revision (published)