Help understanding ICPC ECNA 2019 Problem B

Revision en1, by chubakueno, 2023-09-27 09:18:40

ECNA 2019 Problem B

I've been giving it read after read and can´t really figure out why is 1-4-3-1 for length 6 not a valid solution. Would appreciate help understanding why is that particular solution invalid, the problem is not really written in a clear way.

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English chubakueno 2023-09-27 09:18:40 353 Initial revision (published)