cf/mirror

Good Key, Bad Key

CF
1703G1600· expert3s256 MB⌨ stdin/stdout

Examples

Sample 1of 1multi-test • hover to link
Input
5
4 5
10 10 3 1
1 2
1
3 12
10 10 29
12 51
5 74 89 45 18 69 67 67 11 96 23 59
2 57
85 60
Output
11
0
13
60
58
1703G.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)