Binary Numbers AND Sum
1066E1700· expert1s256 MB⌨ stdin/stdout
Examples
Sample 1of 2
Input
4 410101101
Output
12
Sample 2of 2
Input
4 5100110101
Output
11
58%
1066E.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)
4 410101101
12
4 5100110101
11