let line; while(line = readline()) { let [n, m] = line.split(' ').map(e => parseInt(e)); console.log(solution(n, m)); } /** *动态规划求解: * dp[i-1][j-1] = dp[i-1][j]&n...