1
0
Fork 0

Update number/ntt.cc

This commit is contained in:
subcrip 2024-09-02 21:28:04 +08:00
parent 5017d889b4
commit 9c625c0fd3
1 changed files with 1 additions and 0 deletions

View File

@ -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;
} }