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

Time limit Memory limit # of submissions # of accepted Ratio
1500 ms 1024 MiB 792 81 10.23%

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.