Choosing Two Paths
1073F2500· grandmaster2s256 MB⌨ stdin/stdout
Examples
Sample 1of 4
Input
71 41 51 62 32 44 7
Output
3 67 5
Sample 2of 4
Input
99 33 51 24 34 71 74 63 8
Output
2 96 8
Sample 3of 4
Input
106 810 33 75 81 77 22 92 81 4
Output
10 64 5
Sample 4of 4
Input
111 22 33 41 51 66 75 85 94 104 11
Output
9 118 10
58%
1073F.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)
loading graph engine…