cf/mirror

Adjusting Drones

CF
2157E1900· candidate master2s256 MB⌨ stdin/stdout

Examples

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