Summarize to the Power of Two
1005C1300· pupil3s256 MB⌨ stdin/stdout
Examples
Sample 1of 4
Input
64 7 1 5 4 9
Output
1
Sample 2of 4
Input
51 2 3 4 5
Output
2
Sample 3of 4
Input
116
Output
1
Sample 4of 4
Input
41 1 1 1023
Output
0
58%
1005C.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)