View problem - Necklace (Subtask 1-3) (BOI19_necklace1)

Time limit Memory limit # of submissions # of accepted Ratio
1500 ms 1024 MiB 128 16 12.5%

Unlike in the official contest, we don't give additional time and memory to Python or Java.

Your browser does not support embedded PDF files. Please download the PDF file instead.

Edit problem statement on github