Bear and Five Cards
680A800· newbie2s256 MB⌨ stdin/stdout
Examples
Sample 1of 3
Input
7 3 7 3 20
Output
26
Sample 2of 3
Input
7 9 3 1 8
Output
28
Sample 3of 3
Input
10 10 10 10 10
Output
20
58%
680A.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)
7 3 7 3 20
26
7 9 3 1 8
28
10 10 10 10 10
20