Sets
82B1700· expert2s256 MB⌨ stdin/stdout
Examples
Sample 1of 3
Input
43 2 7 43 1 7 33 5 4 23 1 3 54 3 1 2 42 5 7
Output
1 72 2 42 1 31 5
Sample 2of 3
Input
45 6 7 8 9 1004 7 8 9 14 7 8 9 23 1 6 1003 2 6 1002 1 2
Output
3 7 8 92 6 1001 11 2
Sample 3of 3
Input
32 1 22 1 32 2 3
Output
1 11 21 3
58%
82B.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)