4 ms·
Or the list is just very long.
by Ragib_Zaman 8y ago
Or the list is just very long.
- gubbrora 8y agoNot really. The time required to overflow that way is unrealistic. Also I think you'll run into S + x = S. at that point your sum will stop climbing towards overflow.