进食后人

P2704 [NOI2001] 炮兵阵地

AquaDaMean1e @ 2024-12-29 19:01:09

    for (int i = 1; i <= n; i++) {
        for (int j = 1; j <= m; j++) {
            cin >> ch[i][j];
        }
    }

改成

for (int i = 1; i <= n; i++) {
    cin >> ch[i][j];
}

因为这个调了0.5h


by AquaDaMean1e @ 2024-12-29 19:01:53

打错了 是改成

for (int i = 1; i <= n; i++) {
    cin >> ch[i];
}

|