Loading

U636458 蛇

记录一个 DP 表示匹配信息。

然后枚举开头位置,路径形态只有那么几种,枚举一下即可。

可 pku 那个题差不太多。

posted @ 2025-11-28 20:38  Alexande  阅读(0)  评论(0)    收藏  举报