You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
m=641 ( =2^7*5+1, prime ) and |A| = |B| =61 ( 2^6<|A|+|B|-1=121<2^7 ), convolution returns wrong result.
I think this for-loop's condition should be i <= cnt2 - 2.
m=641
( =2^7*5+1
, prime ) and|A| = |B| =61
(2^6<|A|+|B|-1=121<2^7
), convolution returns wrong result.I think this for-loop's condition should be
i <= cnt2 - 2
.ac-library/atcoder/convolution.hpp
Line 37 in a32a17b
The text was updated successfully, but these errors were encountered: