霜北京燕:https://www.luogu.com.cn/problem/P2656。
SPFA:他没死,把 queue 改称 stack 就过了。
另:题解区往下翻第七篇(现在是)有计算蘑菇数量的公式。
AC 记录