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:12Jack FrigaardJack FrigaardScore: 5,583Success
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:125,47376,302,78042,394,0003,028,0002,453,504
2Aug 2, 2025 20:125,47970,577,80642,447,0003,031,0002,519,040
3Aug 2, 2025 20:125,48879,463,24944,539,0001,012,0002,449,408
4Aug 2, 2025 20:125,49070,571,93343,539,0002,025,0002,519,040
5Aug 2, 2025 20:125,49873,916,11743,602,0002,028,0002,449,408
6Aug 2, 2025 20:125,49971,768,76743,617,0002,028,0002,519,040
7Aug 2, 2025 20:125,50080,114,76143,618,0002,028,0002,457,600
8Aug 2, 2025 20:125,50271,865,27843,639,0002,029,0002,519,040
9Aug 2, 2025 20:125,52579,811,13342,864,0002,990,0002,449,408
10Aug 2, 2025 20:125,58368,803,47045,332,0001,007,0002,519,040
11Aug 2, 2025 20:125,58667,344,02344,347,0002,015,0002,519,040
12Aug 2, 2025 20:125,58874,679,48844,365,0002,016,0002,519,040
13Aug 2, 2025 20:125,59268,994,87444,398,0002,018,0002,449,408
14Aug 2, 2025 20:125,59269,630,99444,395,0002,017,0002,519,040
15Aug 2, 2025 20:125,59468,654,65745,420,0001,009,0002,519,040
16Aug 2, 2025 20:125,59870,749,99844,444,0002,020,0002,449,408
17Aug 2, 2025 20:125,63771,724,01343,801,0002,986,0002,519,040
18Aug 2, 2025 20:125,67570,842,73045,095,0002,004,0002,437,120