solved c2 max_ks_exhaustive & max_ks_backtracking & max_ks_bab