#P1595. 信封问题
信封问题
Description
Someone writes letters and has envelopes. If all letters are put into the wrong envelopes, how many different ways are there in total?
Input Format
A single integer , the number of envelopes, with .
Output Format
A single integer representing the number of ways.
2
1
3
2
Hint
For of the testdata, .
Translated by ChatGPT 5
京公网安备 11011102002149号