Sorted Adjacent Differences
1339B1200· pupil1s256 MB⌨ stdin/stdout
Examples
Sample 1of 1
Input
265 -2 4 8 6 548 1 4 2
Output
5 5 4 6 8 -21 2 4 8
58%
1339B.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)
265 -2 4 8 6 548 1 4 2
5 5 4 6 8 -21 2 4 8