Skip to content

Commit a93ab5d

Browse files
committed
ConvolutionのReadmeを訂正
1 parent 7840f82 commit a93ab5d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎Convolution/README.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ NTTで剰余Convolutionを計算するクラスです。
1010

1111
```java
1212
public static void main(String[] args) {
13-
// 3以上の素数のModを指定します
13+
// NTT用素数のModを指定します
1414
int mod = 998244353;
1515
long[] a = { 1, 2, 3, 4, 5 };
1616
long[] b = { 6, 7, 8 };
@@ -36,4 +36,4 @@ public static java.util.List<ModIntFactory.ModInt> convolution(
3636
計算量: $O(n ¥log(n))$
3737

3838
制約
39-
- `mod` 3以上の素数
39+
- `mod` NTT用素数(998244353, 1053818881, 1004535809, ...)

0 commit comments

Comments
 (0)