Files
CKG/extern/stdcxx/4.2.1/examples/manual/out/adj_diff.out
2025-06-07 11:34:38 -04:00

9 lines
201 B
Plaintext

For the vector:
1 1 2 3 5 8 13 21 34 55
The differences between adjacent elements are:
1 0 1 1 2 3 5 8 13 21
The products of adjacent elements are:
1 1 2 6 15 40 104 273 714 1870