Ehab and a component choosing problem
1088E2400· grandmaster1s256 MB⌨ stdin/stdout
Examples
Sample 1of 4
Input
31 2 31 21 3
Output
6 1
Sample 2of 4
Input
1-2
Output
-2 1
Sample 3of 4
Input
3-1 -1 -11 22 3
Output
-3 3
Sample 4of 4
Input
3-1 -2 -11 21 3
Output
-2 2
58%
1088E.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)
loading graph engine…