Baby Ehab Plays with Permutations
1516E2500· grandmaster2s256 MB⌨ stdin/stdout
Examples
Sample 1of 3
Input
2 3
Output
1 1 1
Sample 2of 3
Input
3 2
Output
3 3
Sample 3of 3
Input
4 2
Output
6 12
58%
1516E.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)
2 3
1 1 1
3 2
3 3
4 2
6 12