Decreasing Debts
1266D2000· candidate master2s256 MB⌨ stdin/stdout
Examples
Sample 1of 4
Input
3 21 2 102 3 5
Output
21 2 51 3 5
Sample 2of 4
Input
3 31 2 102 3 153 1 10
Output
12 3 5
Sample 3of 4
Input
4 21 2 123 4 8
Output
21 2 123 4 8
Sample 4of 4
Input
3 42 3 12 3 22 3 42 3 8
Output
12 3 15
58%
1266D.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)
loading graph engine…