如何优化空间?

P1032 [NOIP2002 提高组] 字串变换

可以不用各种 $\texttt{map}$ 写字符串双端 $\texttt{bfs}$?
by Lucifero @ 2021-04-02 00:57:10


@[Gray_White](/user/335094) unordered_map?
by Leasier @ 2021-04-02 06:46:35


我记得unordered_map好像空间更大来着( 而且由于常数有时候还没有map快(
by Stinger @ 2021-04-02 10:08:09


|