cf/mirror

Turtle Math: Fast Three Task

CF
1933B800· newbie2s256 MB⌨ stdin/stdout

Examples

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