View problem - Necklace (Subtask 4) (BOI19_necklace4)

Time limit Memory limit # of submissions # of accepted Ratio
1500 ms 3 MiB 196 83 42.35%

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.