cf/mirror

Sorted Adjacent Differences

CF
1339B1200· pupil1s256 MB⌨ stdin/stdout

Examples

Sample 1of 1
Input
2
6
5 -2 4 8 6 5
4
8 1 4 2
Output
5 5 4 6 8 -2
1 2 4 8
1339B.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)