Use function
3 real numbers õ, y and z are set. Define min(max(x,y), max(y,z), x+y+z), having taken advantage of auxiliary functions for calculation of the minimum and maximum elements from two set.
Specifications
Input
In a unique line set 3 real numbers õ, ó and z, parted by a blank. Value of numbers do not exceed on the module 100.
Output
The singular is the answer to a problem, 2 signs deduced with accuracy after a decimal point.
Problem information
Time Limit: 0.5 secondsMemory Limit: 64 MB
Balls for the passed test: 4
Complexity: 10% 625/693
Source: SFE-2010 Variant 20
Classes: Beginners
Example
Example input1.05 2.25 2.15 |
Example output2.25 |
| ← Number 3 | Problems | Negative elements → |
