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 16:35Jack FrigaardJack FrigaardScore: 4,679Success
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 16:354,64262,493,14737,514,0001,013,0002,519,040
2Aug 2, 2025 16:354,64666,029,32136,531,0002,029,0002,519,040
3Aug 2, 2025 16:354,64762,891,81837,559,0001,015,0002,461,696
4Aug 2, 2025 16:354,65271,474,08236,582,0002,032,0002,519,040
5Aug 2, 2025 16:354,65268,044,78036,583,0002,032,0002,445,312
6Aug 2, 2025 16:354,65665,531,99436,612,0002,034,0002,519,040
7Aug 2, 2025 16:354,65972,249,19037,649,0001,017,0002,519,040
8Aug 2, 2025 16:354,66367,162,36936,669,0002,037,0002,519,040
9Aug 2, 2025 16:354,66565,145,17836,680,0002,037,0002,519,040
10Aug 2, 2025 16:354,67567,204,84135,816,0002,984,0002,445,312
11Aug 2, 2025 16:354,67773,725,50935,834,0002,986,0002,441,216
12Aug 2, 2025 16:354,67770,041,52536,827,0001,990,0002,519,040
13Aug 2, 2025 16:354,67967,202,10335,849,0002,987,0002,519,040
14Aug 2, 2025 16:354,70564,168,51936,048,0003,004,0002,519,040
15Aug 2, 2025 16:354,73462,275,65638,285,0001,007,0002,519,040
16Aug 2, 2025 16:354,73566,138,96637,289,0002,015,0002,514,944
17Aug 2, 2025 16:354,73762,551,89836,293,0003,024,0002,457,600
18Aug 2, 2025 16:354,73961,659,75236,306,0003,025,0002,519,040
19Aug 2, 2025 16:354,74564,515,29737,363,0002,019,0002,453,504
20Aug 2, 2025 16:354,74765,670,87436,368,0003,030,0002,519,040
21Aug 2, 2025 16:354,75760,357,70938,467,0001,012,0002,445,312
22Aug 2, 2025 16:354,78267,070,86137,654,0002,035,0002,445,312
23Aug 2, 2025 16:354,81263,662,05237,942,0001,996,0002,297,856
24Aug 2, 2025 16:355,16067,372,25640,840,0001,992,0002,519,040