Replace on Segment
1922F2500· grandmaster3s256 MB⌨ stdin/stdout
Examples
Sample 1of 1multi-test • hover to link
Input
33 21 2 16 31 2 3 1 2 312 33 1 3 1 2 1 1 2 3 1 1 3
Output
122
58%
1922F.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)
33 21 2 16 31 2 3 1 2 312 33 1 3 1 2 1 1 2 3 1 1 3
122