Lipshitz Sequence
601B2100· master1s256 MB⌨ stdin/stdout
Examples
Sample 1of 2
Input
10 41 5 2 9 1 3 4 2 1 72 43 87 101 9
Output
178223210
Sample 2of 2
Input
7 65 7 7 4 6 6 21 22 32 61 74 73 5
Output
202259168
58%
601B.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)