#10. sum3
sum3
Background
Description
Given an array of ints length 3, return the sum of all the elements.
Format
Input
Output
Samples
[1 2 3]
6
[5 11 2]
18
[7 0 0]
7
Limitation
1s, 1024KiB for each test case.
Given an array of ints length 3, return the sum of all the elements.
[1 2 3]
6
[5 11 2]
18
[7 0 0]
7
1s, 1024KiB for each test case.
By signing up a acjudge universal account, you can submit code and join discussions in all online judging services provided by us.