A Very Big Sum

  • + 1 comment

    Hi, I understand the 3rd argument of the function accumulate(), which indicates the type of integer literal in this case. But why we need to cast statically as

    .....static_cast<long long int>(0))
    

    for the long long integer?