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 13:16Jack FrigaardJack FrigaardScore: 5,121Success
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 13:164,96263,628,61738,174,0003,013,0002,457,600
2Aug 3, 2025 13:164,96563,955,55338,193,0003,015,0002,441,216
3Aug 3, 2025 13:164,96865,219,27738,221,0003,017,0002,514,944
4Aug 3, 2025 13:164,97166,516,06638,244,0003,019,0002,441,216
5Aug 3, 2025 13:164,97261,717,40038,250,0003,019,0002,441,216
6Aug 3, 2025 13:164,97268,622,30839,253,0002,013,0002,514,944
7Aug 3, 2025 13:164,97565,744,83939,281,0002,014,0002,514,944
8Aug 3, 2025 13:164,98063,436,66638,307,0003,024,0002,514,944
9Aug 3, 2025 13:164,98962,859,41039,386,0002,019,0002,449,408
10Aug 3, 2025 13:165,12166,144,33441,493,0001,012,0002,519,040
11Aug 3, 2025 13:165,12667,720,06440,520,0002,026,0002,519,040
12Aug 3, 2025 13:165,12771,346,24141,541,0001,013,0002,519,040
13Aug 3, 2025 13:165,12867,058,76742,562,00002,441,216
14Aug 3, 2025 13:165,13168,865,02540,562,0002,028,0002,519,040
15Aug 3, 2025 13:165,13270,653,55340,564,0002,028,0002,461,696
16Aug 3, 2025 13:165,13365,799,86741,592,0001,014,0002,519,040
17Aug 3, 2025 13:165,13573,565,93640,590,0002,029,0002,449,408
18Aug 3, 2025 13:165,13970,401,68441,635,0001,015,0002,457,600