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 21:06Jack FrigaardJack FrigaardScore: 5,117Success
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 21:064,95664,256,45338,126,0003,009,0002,449,408
2Aug 2, 2025 21:074,95865,586,23539,143,0002,007,0002,433,024
3Aug 2, 2025 21:064,96062,323,71738,158,0003,012,0002,514,944
4Aug 2, 2025 21:074,96063,802,86238,155,0003,012,0002,457,600
5Aug 2, 2025 21:074,96465,439,68038,187,0003,014,0002,514,944
6Aug 2, 2025 21:084,96866,733,05438,221,0003,017,0002,441,216
7Aug 2, 2025 21:084,97164,186,35038,240,0003,019,0002,449,408
8Aug 2, 2025 21:064,97268,879,30638,251,0003,019,0002,514,944
9Aug 2, 2025 21:084,99467,396,78938,415,0003,032,0002,514,944
10Aug 2, 2025 21:075,11770,600,33241,460,0001,011,0002,519,040
11Aug 2, 2025 21:075,11968,834,82341,480,0001,011,0002,519,040
12Aug 2, 2025 21:085,12070,022,67140,470,0002,023,0002,519,040
13Aug 2, 2025 21:085,12068,659,54240,472,0002,023,0002,519,040
14Aug 2, 2025 21:065,12469,492,85141,521,0001,012,0002,453,504
15Aug 2, 2025 21:075,12563,348,93540,512,0002,025,0002,437,120
16Aug 2, 2025 21:085,13378,521,37640,579,0002,028,0002,445,312
17Aug 2, 2025 21:065,13669,460,93040,598,0002,029,0002,519,040
18Aug 2, 2025 21:065,14071,455,02741,644,0001,015,0002,519,040