Counting Factorizations
1794D1900· candidate master4s256 MB⌨ stdin/stdout
Examples
Sample 1of 3
Input
21 3 2 3
Output
2
Sample 2of 3
Input
22 2 3 5
Output
5
Sample 3of 3
Input
11 4
Output
0
58%
1794D.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)
21 3 2 3
2
22 2 3 5
5
11 4
0