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 listMay 8, 2025 23:14Dmytro OvcharenkoDmytro OvcharenkoScore: 37,686Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 8, 2025 23:1737,552337,408,061309,687,0001,997,0002,260,992
2May 8, 2025 23:1737,574343,128,169309,866,0001,999,0002,260,992
3May 8, 2025 23:1437,579338,456,770310,910,000999,0002,260,992
4May 8, 2025 23:1737,611338,441,530311,175,0001,000,0002,256,896
5May 8, 2025 23:1737,618333,710,389311,232,0001,000,0002,379,776
6May 8, 2025 23:1737,630331,229,525311,326,0001,001,0002,383,872
7May 8, 2025 23:1437,642338,597,223311,424,0001,001,0002,519,040
8May 8, 2025 23:1437,658337,942,951310,562,0001,997,0002,383,872
9May 8, 2025 23:1737,673337,616,546311,685,000998,0002,260,992
10May 8, 2025 23:1437,686340,892,883310,795,0001,998,0002,260,992
11May 8, 2025 23:1437,691337,986,231310,835,0001,998,0002,519,040
12May 8, 2025 23:1737,702341,758,142310,924,0001,999,0002,260,992
13May 8, 2025 23:1437,718337,697,349311,061,0002,000,0002,519,040
14May 8, 2025 23:1437,721337,249,975311,085,0002,000,0002,383,872
15May 8, 2025 23:1737,723348,733,586313,102,00002,260,992
16May 8, 2025 23:1437,732337,707,891311,172,0002,001,0002,260,992
17May 8, 2025 23:1437,739335,803,503312,234,0001,000,0002,260,992
18May 8, 2025 23:1737,755334,647,855312,363,0001,001,0002,265,088