Leha and Function
840A1300· pupil2s256 MB⌨ stdin/stdout
Examples
Sample 1of 2
Input
57 3 5 3 42 1 3 2 3
Output
4 7 3 5 3
Sample 2of 2
Input
74 6 5 8 8 2 62 1 2 2 1 1 2
Output
2 6 4 5 8 8 6
58%
840A.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)
57 3 5 3 42 1 3 2 3
4 7 3 5 3
74 6 5 8 8 2 62 1 2 2 1 1 2
2 6 4 5 8 8 6