Sonya and Bitwise OR
1004F2600· international gm4s512 MB⌨ stdin/stdout
Examples
Sample 1of 2
Input
4 8 70 3 6 12 1 42 3 41 1 72 1 42 1 32 1 11 3 02 1 4
Output
517414
Sample 2of 2
Input
5 5 76 0 3 15 22 1 51 4 42 1 52 3 52 1 4
Output
9724
58%
1004F.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)