Here
这题脑子有屎,K的真正的意思是,两首歌之间要间隔K
K
显然dp, dp[i][j] denotes the number of different playlists that uses j unique songs, and the playlist of i length
dp[i][j]
j
i
Solution