版本比较
[ABC421G] Increase to make it Increasing
正文
增加 1 行删除 1 行
61 行未改动6263646566666768697019 行未改动61 行未改动
int n, m, a[N];int main() { cin >> n >> m; int S = n + 2, T = 0; int S = n + 2, T = 0; for(int i = 1; i <= n; i++) cin >> a[i]; g.add(S, n + 1, 1e6, 0); int tot = 0; for(int i = 1; i <= n; i++) {19 行未改动