#arc068d. [arc068_d]Solitaire

[arc068_d]Solitaire

将1-n顺序加入双端队列(每次可加头可加尾),再删除(每次可删头可删尾),求有多少种删除序列,使得1是第k个被删的。