Vessels, Heights and Two Versions (Hard Version)
2234F1900· candidate master2s256 MB⌨ stdin/stdout
Examples
Sample 1of 1multi-test • hover to link
Input
441 2 3 455 3 1 5 263 4 2 6 1 571 2 1 4 2 3 5
Output
6 6 7 917 16 14 14 1721 21 20 20 21 2117 17 17 17 21 21 22
58%
2234F.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)
loading graph engine…