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 FrigaardError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Jul 7, 2026 03:15Victor Mercklé10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 7, 2026 03:15046,486,44535,503,0001,050,0002,113,536expected "74600294196621100 ", got "74608511700495786 "
2Jul 7, 2026 03:154,47346,838,18336,053,0001,075,0002,113,536
3Jul 7, 2026 03:154,48248,269,92436,140,0001,066,0002,113,536
4Aug 2, 2025 20:164,64667,107,40436,534,0002,029,0002,519,040
5Aug 2, 2025 20:164,64866,182,43136,551,0002,030,0002,519,040
6Aug 2, 2025 20:164,65264,505,57636,580,0002,032,0002,449,408
7Aug 2, 2025 20:164,65364,643,49536,585,0002,032,0002,519,040
8Aug 2, 2025 20:164,65565,203,99636,607,0002,033,0002,461,696
9Aug 2, 2025 20:164,66172,051,89436,650,0002,036,0002,445,312
10Aug 2, 2025 20:164,67364,512,04935,805,0002,983,0002,519,040
11Aug 2, 2025 20:164,67565,959,93635,820,0002,985,0002,519,040
12Aug 2, 2025 20:164,68862,629,35035,918,0002,993,0002,449,408
13Aug 2, 2025 20:164,71467,080,50537,121,0002,006,0002,519,040
14Aug 2, 2025 20:164,71762,392,34137,143,0002,007,0002,449,408
15Aug 2, 2025 20:164,71965,383,56436,156,0003,013,0002,519,040
16Aug 2, 2025 20:164,72264,438,66536,179,0003,014,0002,514,944
17Aug 2, 2025 20:164,72364,389,19238,196,0001,005,0002,441,216
18Aug 2, 2025 20:164,72667,594,28736,206,0003,017,0002,519,040
19Aug 2, 2025 20:164,73370,079,46337,269,0002,014,0002,519,040
20Aug 2, 2025 20:164,73462,294,72236,272,0003,022,0002,441,216
21Aug 2, 2025 20:164,73961,729,82036,306,0003,025,0002,519,040