Flip the Bit (Hard Version)
2217D1900· candidate master1.5s256 MB⌨ stdin/stdout
Examples
Sample 1of 1multi-test • hover to link
Input
62 11 013 20 1 01 35 51 1 1 1 11 2 3 4 59 50 1 0 0 1 0 0 1 03 4 6 7 913 41 0 0 1 0 1 0 1 1 0 1 0 14 8 11 1315 31 0 1 0 1 0 1 0 1 0 1 0 1 0 13 11 13
Output
220358
58%
2217D.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)