Close Tuples (easy version)
1462E11500· specialist2s256 MB⌨ stdin/stdout
Examples
Sample 1of 1
Input
441 2 4 341 1 1 111105 6 1 3 2 9 8 1 2 4
Output
24015
58%
1462E1.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)
441 2 4 341 1 1 111105 6 1 3 2 9 8 1 2 4
24015