#P3427. [POI 2005] DZI-Hollows
[POI 2005] DZI-Hollows
Output Format
Let be the number of different arrangements of the birds that satisfy the given constraints. Your program should print a single integer on the first line of the standard output. If there is no valid arrangement, the correct output is .
3 2 10
1 2
1 3
4
Hint
Translated by ChatGPT 5
京公网安备 11011102002149号