cf/mirror

Neko Finds Grapes

CF
1152A800· newbie2s256 MB⌨ stdin/stdout

Examples

Sample 1of 3
Input
5 4
9 14 6 2 11
8 4 7 20
Output
3
Sample 2of 3
Input
5 1
2 4 6 8 10
5
Output
1
Sample 3of 3
Input
1 4
10
20 30 40 50
Output
0
1152A.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)