Skip to content

Commit 99f2c45

Browse files
authored
Update readme.md
1 parent 501002a commit 99f2c45

File tree

1 file changed

+8
-2
lines changed
  • src/main/java/g1701_1800/s1735_count_ways_to_make_array_with_product

1 file changed

+8
-2
lines changed

src/main/java/g1701_1800/s1735_count_ways_to_make_array_with_product/readme.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,13 @@ Return _an integer array_ `answer` _where_ `answer.length == queries.length`_, a
1212

1313
**Output:** [4,1,50734910]
1414

15-
**Explanation:** Each query is independent. [2,6]: There are 4 ways to fill an array of size 2 that multiply to 6: [1,6], [2,3], [3,2], [6,1]. [5,1]: There is 1 way to fill an array of size 5 that multiply to 1: [1,1,1,1,1]. [73,660]: There are 1050734917 ways to fill an array of size 73 that multiply to 660. 1050734917 modulo 10<sup>9</sup> + 7 = 50734910.
15+
**Explanation:** Each query is independent.
16+
17+
[2,6]: There are 4 ways to fill an array of size 2 that multiply to 6: [1,6], [2,3], [3,2], [6,1].
18+
19+
[5,1]: There is 1 way to fill an array of size 5 that multiply to 1: [1,1,1,1,1].
20+
21+
[73,660]: There are 1050734917 ways to fill an array of size 73 that multiply to 660. 1050734917 modulo 10<sup>9</sup> + 7 = 50734910.
1622

1723
**Example 2:**
1824

@@ -23,4 +29,4 @@ Return _an integer array_ `answer` _where_ `answer.length == queries.length`_, a
2329
**Constraints:**
2430

2531
* <code>1 <= queries.length <= 10<sup>4</sup></code>
26-
* <code>1 <= n<sub>i</sub>, k<sub>i</sub> <= 10<sup>4</sup></code>
32+
* <code>1 <= n<sub>i</sub>, k<sub>i</sub> <= 10<sup>4</sup></code>

0 commit comments

Comments
 (0)