cf/mirror

Supersequence

CF
2199E2100· master2s512 MB⌨ stdin/stdout

Examples

Sample 1of 1
Input
5 16
4 1 1 5 9
1 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
2199E.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)