Narrow Paths
1958F2000· candidate master2s256 MB⌨ stdin/stdout
Examples
Sample 1of 4
Input
2 2
Output
1 0 0
Sample 2of 4
Input
10 2
Output
45 24 21 18 15 12 9 6 3 0 0
Sample 3of 4
Input
10 5
Output
7812 420 210 90 30 6 0 0 0 0 0
Sample 4of 4
Input
22 10
Output
467563090 1847560 1016158 534820 267410 125840 55055 22022 7865 2420 605 110 11 0 0 0 0 0 0 0 0 0 0
58%
1958F.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)