cf/mirror

Table with Numbers

CF
2189A800· newbie1s256 MB⌨ stdin/stdout

Examples

Sample 1of 1multi-test • hover to link
Input
7
2 1 1
1 1
5 2 2
1 2 2 3 2
8 4 2
7 2 2 2 3 4 4 2
7 3 6
10 4 1 3 5 4 6
2 4 4
5 5
7 6 3
10 4 1 3 5 4 6
4 1 1
1 1 1 1
Output
1
2
3
2
0
2
2
2189A.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)