View problem - Necklace (Subtask 4) (BOI19_necklace4)

Time limit Memory limit # of submissions # of accepted Ratio
1500 ms 4 MiB 246 95 38.62%

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.