#include <vector>
#include <iostream>
#include <numeric>
//Always make sure the third parameter to std::accumulate is the right type.
int main()
{
const uint64_t n(0x0F0000000);
std::vector<uint64_t> v;
v.push_back(n);
v.push_back(n);
std::cout << (n + n) << '\n';
std::cout << std::accumulate(v.begin(), v.end(), 0) << '\n';
std::cout << std::accumulate(v.begin(), v.end(), static_cast<uint64_t>(0)) << '\n';
}