Missing Subarray Sum
1965D2900· international gm5s256 MB⌨ stdin/stdout
Examples
Sample 1of 1multi-test • hover to link
Input
731 2 3 4 1418 2 11 9 7 11 7 2 945 10 5 16 3 3 13 8 848 10 4 6 4 20 14 14 651 2 3 4 5 4 3 2 1 1 2 3 2 151 1 2 2 2 3 3 3 3 4 5 5 6 83500000000 1000000000 500000000 500000000 1000000000
Output
1 2 17 2 2 73 5 5 36 4 4 61 1 1 1 12 1 2 1 2500000000 500000000 500000000
58%
1965D.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)