#include <iostream>
#include "Accum.h"
#include "AccumulationTraits.h"
#include "SumPolicy.h"
using std :: cout;
using std :: endl;
using std :: cin;
int main(void)
{
long size = 0L;
cout << "Please enter the length of array :" << endl;
cin >> size;
long* arr = new long[size];
for (long i = 0L; i < size; ++i) {
arr[i] = i+10;
}
long long total = accum(arr, arr+99999);
cout << total << endl;
getchar();
return 0;
}