ll@n,@k,h[n]{},f=1; n=0; rep(i,1,10){ ll@c; rep(j,c){ h[n++]=i; f*=j+1; } } ll d[1<