Id1013
TitleThe Cat in the Hat
Tagsbrute force
math
Brief solution将拥有helper的关系看成一个有向树,然后枚举树的度(分叉数)和高度。
time usage:0.742675