Codeforces 526D Om Nom and Necklace(kmp+数学)
题面
One day Om Nom found a thread with n beads of different colors. He decided to cut the first several beads from this thread to make a bead necklace and present it to his girlfriend Om Nelly.
Om ...
转载
2019-02-20 20:38:05 ·
335 阅读 ·
0 评论