A Very Big Sum

  • + 0 comments

    or we can do it more simply like this..

    accumulate(arr.begin, arr.end(), (long long int)0);