[CF944G]Coins Exhibition 题意:Jack去年参加了一个珍稀硬币的展览会.Jack记得一共有 $k$ 枚硬币,这些硬币排成一行,从左到右标号为 $1$ 到 $k$ ,每枚硬币是正面朝上的或是反面朝上的.但是Jack不记得每枚硬币具体是正面朝上还是反面朝上了.但是Jack隐约记得,在某些区间里,至少有一枚正面朝上的:以及在某些区间里,至少有一枚反面朝上的.现在Jack想知道,有多少种可能的硬币序列,满足他所记得的所有条件.两个序列被认为是不同的,当且仅当至少存在一个位置 $i…