Missing Subsequence Sum
1965B1800· expert2s256 MB⌨ stdin/stdout
Examples
Sample 1of 1
Input
52 26 18 89 310 7
Output
1152 3 4 5 671 1 1 1 1 1 147 1 4 141 2 8 3
58%
1965B.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)
52 26 18 89 310 7
1152 3 4 5 671 1 1 1 1 1 147 1 4 141 2 8 3