11031103
SUSTech Online Judge
Problem 1103 --Problem21103: Problem2
Time Limit: 1 Sec Memory Limit: 64 MB
Submit: 1 Solved: 1
[Submit][Status][Web Board]Description
Input
Output
Sample Input
3
1 1 1
3
1 2 3
Sample Output
6
60
HINT
Source
[Submit][Status]