#include <cmath> #include <iostream> #include <vector> using namespace std; int main() { int a, b; while (cin >> a >> b) { // 注意 while 处理多个 case vector<vector<int>> arr(a,vector<int>(b)); vector<vector<int>> dp(a+1,...