-->
当前位置:首页 > 题库

PROGRAMMING:The strong is king

Luz5年前 (2021-05-10)题库392
Confrontation and competition are the driving force for our progress. Come on, Ollie!
The ability is bigger than two people nearby (if only one is bigger than that one), we regard it as the strong one!
This is a world where the strong are king, so we need to find all the strong and strengthen their ability to protect the world
###Input format:
The 10 numbers separated by spaces represent their abilities respectively. The title guarantees that no one has the same ability and the maximum ability value is 9
###Output format:
Output the square of the sum of the strong's abilities
###Input example:
Here is a set of inputs. For example:
```in
5 7 0 2 4 3 6 8 1 9
```
###Output example:
The corresponding output is given here. For example:
```out
seven hundred and eighty-four
```







answer:If there is no answer, please comment