这题虽然蛮简单,但是困扰了很久 这是AC代码 #include<iostream> using namespace std; int m, n; const int M = 3005; int mp[M][M]; const int mod = 2333; int dp[M][M]; int main() { ios::sync_with_stdio(false), cin.tie(0), cout.tie(0); cin >> m >> n; for (int i = 1; i <= m; i++) { for (int j = 1; j <=...