Design Tutorial: Increase the Constraints
472G2800· international gm7s256 MB⌨ stdin/stdout
Examples
Sample 1of 2
Input
1010101111000030 0 32 3 45 7 1
Output
110
Sample 2of 2
Input
1000101010101100101010010101001101010101010010100101010010010101050 0 123 9 76 4 1512 15 1013 3 20
Output
543513
58%
472G.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)