New Year's Problem
1619D1800· expert2s256 MB⌨ stdin/stdout
Examples
Sample 1of 1
Input
52 21 23 44 31 3 13 1 11 2 21 1 32 35 3 42 5 14 27 98 19 610 82 46 5 2 17 9 7 2
Output
32482
58%
1619D.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)