Destroying Array
722C1600· expert1s256 MB⌨ stdin/stdout
Examples
Sample 1of 3
Input
41 3 2 53 4 1 2
Output
5430
Sample 2of 3
Input
51 2 3 4 54 2 3 5 1
Output
65510
Sample 3of 3
Input
85 5 4 4 6 6 5 55 2 8 7 1 3 4 6
Output
18161188660
58%
722C.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)
loading graph engine…