[ 容斥 斯特林数 ] Codeforces715E Complete the Permutations
题解#includeusingnamespacestd;constintN=510;constintP=998244353;intk,n,m,x;intnx[N],d[N];intc[N][N],p[N][N],s[N][N];inta,b,cl,bl;intf[N],g[N],h[N],Ans[N];boolv[N];voidAdd(int&x,inty){x=(x+y)%P;}voidinit