You are viewing a single comment's thread. Return to all comments →
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?
i also don't know that why i cast it explicitly