Dorm Water Supply
107A1400· specialist1s256 MB⌨ stdin/stdout
Examples
Sample 1of 3
Input
3 21 2 102 3 20
Output
11 3 10
Sample 2of 3
Input
3 31 2 202 3 103 1 5
Output
0
Sample 3of 3
Input
4 21 2 603 4 50
Output
21 2 603 4 50
58%
107A.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)
loading graph engine…