Inconvenient Pairs
1569D1900· candidate master2s256 MB⌨ stdin/stdout
Examples
Sample 1of 1
Input
22 2 40 10000000 10000001 01000000 1999999 10000000 9999995 4 90 1 2 6 10000000 4 8 10000004 42 52 26 31000000 13 85 88 86 8
Output
25
58%
1569D.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)