Unordered Subsequence
27C1900· candidate master2s256 MB⌨ stdin/stdout
Examples
Sample 1of 3
Input
567 499 600 42 23
Output
31 3 5
Sample 2of 3
Input
31 2 3
Output
0
Sample 3of 3
Input
32 3 1
Output
31 2 3
58%
27C.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)