cf/mirror

Difference Array

CF
1707B1900· candidate master1s256 MB⌨ stdin/stdout

Examples

Sample 1of 1multi-test • hover to link
Input
5
3
1 10 100
4
4 8 9 13
5
0 0 0 8 13
6
2 4 8 16 32 64
7
0 0 0 0 0 0 0
Output
81
3
1
2
0
1707B.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)