Songwriter
1252E2200· master1s256 MB⌨ stdin/stdout
Examples
Sample 1of 3
Input
16 1 8 61 3 5 6 7 8 9 10 3 7 8 9 10 11 12 12
Output
1 2 3 4 5 6 7 8 2 3 4 5 6 7 8 8
Sample 2of 3
Input
16 1 8 61 3 5 6 7 8 9 10 3 7 8 9 10 11 12 13
Output
-1
Sample 3of 3
Input
16 1 10 101 3 5 6 7 8 9 10 3 7 8 9 1 11 12 13
Output
1 2 3 4 5 6 7 8 1 2 3 4 1 2 3 4
58%
1252E.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)