Lost Array
1043B1200· pupil1s256 MB⌨ stdin/stdout
Examples
Sample 1of 3
Input
51 2 3 4 5
Output
51 2 3 4 5
Sample 2of 3
Input
51 3 5 6 8
Output
23 5
Sample 3of 3
Input
31 5 3
Output
13
58%
1043B.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)
51 2 3 4 5
51 2 3 4 5
51 3 5 6 8
23 5
31 5 3
13