Problem2875--【Div4】连续乘法(简单版)

2875: 【Div4】连续乘法(简单版)

[Creator : ]
Time Limit : 1.000 sec  Memory Limit : 128 MB

Description

给定一个整数N(1<= N <=9)和N个不超过9的正整数,请打印出这N个数相乘的结果
例如:
4
2 2 3 4
输出:48

Sample Input Copy

9
9 9 9 9 9 9 9 9 9

Sample Output Copy

387420489

Source/Category

循环