#P5627. 【AFOI-19】sum与prod
【AFOI-19】sum与prod
Description
求
$$\sum_{i=1}^{2^{n}}\log_{2}{(\prod_{j = 1}^{i}lowbit(j))}$$的结果
其中 意指 x&(~x+1) 的结果。
Input Format
一行,一个整数n。
Output Format
一行,一个整数,为答案模 的结果。
2
5
5
447
Hint
对于前 的数据,有 。
对于前 的数据,有 。
对于前 的数据,有 。
京公网安备 11011102002149号