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 3, 2025 19:54Jack FrigaardJack FrigaardScore: 5,057Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 3, 2025 19:545,02772,431,37340,703,0001,017,0002,519,040
2Aug 3, 2025 19:545,04666,804,85438,892,0002,991,0002,519,040
3Aug 3, 2025 19:545,04966,906,71039,910,0001,995,0002,514,944
4Aug 3, 2025 19:545,04965,178,89638,912,0002,993,0002,441,216
5Aug 3, 2025 19:545,05067,049,73338,920,0002,993,0002,519,040
6Aug 3, 2025 19:545,05068,710,67738,922,0002,994,0002,519,040
7Aug 3, 2025 19:545,05369,854,49138,945,0002,995,0002,449,408
8Aug 3, 2025 19:545,05465,581,08339,950,0001,997,0002,453,504
9Aug 3, 2025 19:545,05672,654,54540,962,000999,0002,519,040
10Aug 3, 2025 19:545,05765,661,71538,976,0002,998,0002,514,944
11Aug 3, 2025 19:545,05865,346,00739,984,0001,999,0002,514,944
12Aug 3, 2025 19:545,05867,544,35039,983,0001,999,0002,514,944
13Aug 3, 2025 19:545,05964,573,35338,991,0002,999,0002,514,944
14Aug 3, 2025 19:545,06166,151,59939,007,0003,000,0002,273,280
15Aug 3, 2025 19:545,06365,101,62440,025,0002,001,0002,514,944
16Aug 3, 2025 19:545,06669,264,84741,048,0001,001,0002,510,848
17Aug 3, 2025 19:545,09866,434,74239,290,0003,022,0002,445,312
18Aug 3, 2025 19:545,10961,833,70439,378,0003,029,0002,519,040