今天写了一篇题解,本来效率堪忧,结果把 memset 去掉以后,一下卡进最优解 RK 1 。(减少了大概 200ms)
memset
memset 这个东西的效率不是近似 O(log∣S∣)O(\log |S|)O(log∣S∣) 的吗