View problem - Necklace (Subtask 4) (BOI19_necklace4)

Time limit Memory limit # of submissions # of accepted Ratio
1500 ms 3 MiB 197 84 42.64%

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.