Decoding of Integer Sequences
1170D3s256 MB⌨ stdin/stdout
Examples
Sample 1of 2
Input
123 2 1 1 7 2 4 -1 3 -1 4 -1
Output
33 3 1 42 2 74 1 2 3 4
Sample 2of 2
Input
62 -1 2 -1 3 -1
Output
31 202 2 3
58%
1170D.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)