AT_fps_24

j

分治做转移。2log

k

答案 \(f_{n}=n!-\sum_{i=1}^n i!f_{n-i}\),可以分治。2log
可以做到 1log。\(\color{Red}\mathtt \Gamma\)