Parse integers Sergey Svistunov

Compute the sum of integers read from STDIN as fast as possible.

Input: 50 000 000 lines, each containing one integer in the range [0; 2147483647].

629871117
2024562523
1372689083
1021777120
2111176472

Output: The uint64 sum of all numbers, printed as a decimal string.

Note: Integer overflow is expected – use a 64-bit accumulator.

Back to listAug 2, 2025 20:31Jack FrigaardJack FrigaardScore: 5,038Success
Source Code

Source code access is restricted. Log in to request access.

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 2, 2025 20:315,00765,342,00639,530,0002,027,0002,519,040
2Aug 2, 2025 20:315,00869,169,34039,542,0002,027,0002,519,040
3Aug 2, 2025 20:315,01168,841,64440,576,0001,014,0002,519,040
4Aug 2, 2025 20:315,03867,499,21940,817,000995,0002,453,504
5Aug 2, 2025 20:315,04665,548,27639,837,0002,042,0002,519,040
6Aug 2, 2025 20:315,61372,772,96545,577,0001,012,0002,519,040