#include
#include
#include
#include // For accumulate
#include // For multiplies
using namespace std;
int main()
{
int x[5] = {2, 3, 5, 7, 11};
vector vector1(&x[0], &x[5]);
int product = accumulate(vector1.begin(), vector1.end(),1, multiplies());
cout << product << endl;
return 0;
}
/*
2310
*/