Update number/ntt.cc
This commit is contained in:
parent
5017d889b4
commit
9c625c0fd3
|
@ -57,5 +57,6 @@ vector<MLL<M>> multiply(const vector<MLL<M>>& a, const vector<MLL<M>>& b) {
|
||||||
A[i] *= B[i];
|
A[i] *= B[i];
|
||||||
}
|
}
|
||||||
ntt<M>(A, true);
|
ntt<M>(A, true);
|
||||||
|
A.resize(a.size() + b.size() - 1);
|
||||||
return A;
|
return A;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue