Deduction Queries
1044D2400· grandmaster2s256 MB⌨ stdin/stdout
Examples
Sample 1of 2
Input
122 1 22 1 10737418221 0 3 42 0 02 3 32 0 31 6 7 32 4 41 0 2 12 0 02 4 42 0 0
Output
-1-1-1-15-1635
Sample 2of 2
Input
41 5 5 91 6 6 51 6 5 102 6 5
Output
12
58%
1044D.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)
loading graph engine…