cf/mirror

Missing Subsequence Sum

CF
1965B1800· expert2s256 MB⌨ stdin/stdout

Examples

Sample 1of 1
Input
5
2 2
6 1
8 8
9 3
10 7
Output
1
1
5
2 3 4 5 6
7
1 1 1 1 1 1 1
4
7 1 4 1
4
1 2 8 3
1965B.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)