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:57Jack FrigaardJack FrigaardScore: 5,053Success
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:575,03968,441,41138,839,0002,987,0002,519,040
2Aug 3, 2025 19:575,04173,305,60639,846,0001,992,0002,519,040
3Aug 3, 2025 19:575,04166,690,54939,850,0001,992,0002,519,040
4Aug 3, 2025 19:575,04165,319,36038,852,0002,988,0002,519,040
5Aug 3, 2025 19:575,04169,999,46138,852,0002,988,0002,519,040
6Aug 3, 2025 19:575,04464,510,67238,876,0002,990,0002,519,040
7Aug 3, 2025 19:575,04474,649,98038,877,0002,990,0002,519,040
8Aug 3, 2025 19:575,04464,306,74338,873,0002,990,0002,293,760
9Aug 3, 2025 19:575,05263,732,28238,937,0002,995,0002,449,408
10Aug 3, 2025 19:575,05363,125,20538,947,0002,995,0002,314,240
11Aug 3, 2025 19:575,05469,346,22438,952,0002,996,0002,445,312
12Aug 3, 2025 19:575,05566,194,81938,961,0002,997,0002,519,040
13Aug 3, 2025 19:575,06968,711,88239,068,0003,005,0002,519,040
14Aug 3, 2025 19:575,09368,977,66339,252,0003,019,0002,449,408
15Aug 3, 2025 19:575,09368,772,58239,255,0003,019,0002,441,216
16Aug 3, 2025 19:575,09662,711,38740,283,0002,014,0002,445,312
17Aug 3, 2025 19:575,10469,353,17740,348,0002,017,0002,449,408
18Aug 3, 2025 19:575,10770,484,25841,378,0001,009,0002,445,312