Untitled

mail@pastecode.io avatar
unknown
c_cpp
a year ago
172 B
1
Indexable
Never
#include <iostream>
using namespace std;

int main()
{
	int a, c;
	cin >> a;
	int b = 1;
	for (int i = 1; i <= a; i++) {
		cin >> c;
		b *= c;
	}
	cout << b;
}