Test for D732

Revision en2, by LoDThe, 2016-10-23 19:33:27

My submission 21624050 got verdict "Accepted", but i tryed this test:

10 2 
1 1 1 0 0 0 0 1 2 2 
1 2

My program's answer is 8, but as i think, true answer is 9. Is it so?

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
ru4 Russian LoDThe 2016-10-23 19:58:36 52
ru3 Russian LoDThe 2016-10-23 19:56:13 63
en4 English LoDThe 2016-10-23 19:55:51 26
en3 English LoDThe 2016-10-23 19:44:32 18 Tiny change: '4050] got verdict "Accepted", but i tr' -> '4050] got AC, but i tr'
en2 English LoDThe 2016-10-23 19:33:27 14
ru2 Russian LoDThe 2016-10-23 19:29:24 2 Мелкая правка: 'д выведет 9, хотя, ка' -> 'д выведет 8, хотя, ка' (опубликовано)
en1 English LoDThe 2016-10-23 19:28:15 222 Initial revision for English translation (saved to drafts)
ru1 Russian LoDThe 2016-10-23 19:26:24 311 Первая редакция (опубликовано)