cf/mirror

Smallest number

CF
55B1600· expert2s256 MB⌨ stdin/stdout

Examples

Sample 1of 3
Input
1 1 1 1
+ + *
Output
3
Sample 2of 3
Input
2 2 2 2
* * +
Output
8
Sample 3of 3
Input
1 2 3 4
* + +
Output
9
55B.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)