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

Time limitMemory limit# of submissions# of submitted usersSolved #Accepted user ratio
1500 ms1024 MiB97717410359.20%

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