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

PROGRAMMING:Unexpected assessment

Luz5年前 (2021-05-10)题库346
Hello everyone, I'm not Wang Dahui. I never thought that I passed the company's interview, but I still had an assessment, and I was asked to calculate the sum of N integers. If I can pass this assessment, it won't be long before I can appreciate and raise my salary, become the general manager, become the CEO, marry Bai Fumei and go to the peak of my life. Ha ha, I'm still a little excited. Smart acmer, can you help me calculate the sum of these n numbers?
###Input format:
In the first line, enter an N, which means that there are n numbers next, and N is less than 20;
In the second line, enter n integers, separated by spaces, and each integer is less than 100;
###Output format:
The sum of N numbers, each in a row.
###Input example:
Here is a set of inputs. For example:
```in
ten
1 2 3 4 5 6 7 8 9 10
```
###Output example:
The corresponding output is given here. For example:
```out
fifty-five
```







answer:If there is no answer, please comment