#P5627. 【AFOI-19】sum与prod
【AFOI-19】sum与prod
Description
Find the value of
$$\sum_{i=1}^{2^{n}}\log_{2}{(\prod_{j = 1}^{i}lowbit(j))}$$where means the result of x&(~x+1).
Input Format
One line containing an integer .
Output Format
One line containing one integer, the answer modulo .
2
5
5
447
Hint
For the first of the testdata, .
For the first of the testdata, .
For the full of the testdata, .
Translated by ChatGPT 5
京公网安备 11011102002149号