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 20:16Jack FrigaardJack FrigaardScore: 4,714Success
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 20:164,64667,107,40436,534,0002,029,0002,519,040
2Aug 2, 2025 20:164,64866,182,43136,551,0002,030,0002,519,040
3Aug 2, 2025 20:164,65264,505,57636,580,0002,032,0002,449,408
4Aug 2, 2025 20:164,65364,643,49536,585,0002,032,0002,519,040
5Aug 2, 2025 20:164,65565,203,99636,607,0002,033,0002,461,696
6Aug 2, 2025 20:164,66172,051,89436,650,0002,036,0002,445,312
7Aug 2, 2025 20:164,67364,512,04935,805,0002,983,0002,519,040
8Aug 2, 2025 20:164,67565,959,93635,820,0002,985,0002,519,040
9Aug 2, 2025 20:164,68862,629,35035,918,0002,993,0002,449,408
10Aug 2, 2025 20:164,71467,080,50537,121,0002,006,0002,519,040
11Aug 2, 2025 20:164,71762,392,34137,143,0002,007,0002,449,408
12Aug 2, 2025 20:164,71965,383,56436,156,0003,013,0002,519,040
13Aug 2, 2025 20:164,72264,438,66536,179,0003,014,0002,514,944
14Aug 2, 2025 20:164,72364,389,19238,196,0001,005,0002,441,216
15Aug 2, 2025 20:164,72667,594,28736,206,0003,017,0002,519,040
16Aug 2, 2025 20:164,73370,079,46337,269,0002,014,0002,519,040
17Aug 2, 2025 20:164,73462,294,72236,272,0003,022,0002,441,216
18Aug 2, 2025 20:164,73961,729,82036,306,0003,025,0002,519,040