cf/mirror

Helmets in Night Light

CF
1876A1000· newbie1s256 MB⌨ stdin/stdout

Examples

Sample 1of 1multi-test • hover to link
Input
3
6 3
2 3 2 1 1 3
4 3 2 6 3 6
1 100000
100000
1
4 94
1 4 2 3
103 96 86 57
Output
16
100000
265
1876A.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)