cf/mirror

Equal Subsequences

CF
2118A800· newbie1s256 MB⌨ stdin/stdout

Examples

Sample 1of 1multi-test • hover to link
Input
5
4 2
5 3
5 5
6 2
1 1
Output
1010
10110
11111
100010
1
2118A.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)