cf/mirror

Matching Reduction

CF
1721F2800· international gm8s512 MB⇄ interactive

Examples

Sample 1of 1
Input
3 4 4 4
2 2
1 3
2 1
3 4
1
2
1
2
Output
1
-4
3
===
2
1 2
===
1
2
2
===
1
2
1721F.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)
loading graph engine…