Watering an Array
1917C1600· expert2s256 MB⌨ stdin/stdout
Examples
Sample 1of 1multi-test • hover to link
Input
53 4 41 2 31 3 2 36 2 36 1 2 4 1 56 65 1 10 5 0 5 051 1 1113 4 61 2 31 3 2 3
Output
43015
58%
1917C.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)