「Luogu P3672」小清新签到题 - DP

给定自然数`n,k,x`,你要求出第`k`小的长度为`n`的逆序对对数为`x`的1 ~ n的排列

`n \le 300, k \le 10^{13}`

Your browser is out-of-date!

Update your browser to view this website correctly. Update my browser now

×