Supersequence
2199E2100· master2s512 MB⌨ stdin/stdout
Examples
Sample 1of 1
Input
5 164 1 1 5 91 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
Output
4 3 2 1 0 1 2 3 4 5 6 7 8 9 -1 -1
58%
2199E.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)
5 164 1 1 5 91 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
4 3 2 1 0 1 2 3 4 5 6 7 8 9 -1 -1