试错法求解

trial-and-error solution