cf/mirror

Counting Arrays

CF
1749D1900· candidate master2s512 MB⌨ stdin/stdout

Examples

Sample 1of 4
Input
2 3
Output
6
Sample 2of 4
Input
4 2
Output
26
Sample 3of 4
Input
4 6
Output
1494
Sample 4of 4
Input
1337 424242424242
Output
119112628
1749D.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)