跳到主要内容

这个算法没有使用暴力法,而是先排除不可能的情况。

This algorithm does not use brute force; instead, it first rules out impossible cases.