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:34Jack FrigaardJack FrigaardScore: 4,754Success
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:344,68062,188,19335,853,0002,987,0002,449,408
2Aug 2, 2025 20:344,68661,388,18535,900,0002,991,0002,519,040
3Aug 2, 2025 20:344,68762,328,55535,909,0002,992,0002,519,040
4Aug 2, 2025 20:344,69063,418,30135,933,0002,994,0002,519,040
5Aug 2, 2025 20:344,69263,610,59235,948,0002,995,0002,519,040
6Aug 2, 2025 20:344,69371,163,47436,956,0001,997,0002,437,120
7Aug 2, 2025 20:344,70068,441,29036,011,0003,000,0002,449,408
8Aug 2, 2025 20:344,71963,119,10636,158,0003,013,0002,519,040
9Aug 2, 2025 20:344,75064,644,20736,395,0003,032,0002,445,312
10Aug 2, 2025 20:344,75465,987,01838,449,0001,011,0002,519,040
11Aug 2, 2025 20:344,76261,480,48537,501,0002,027,0002,449,408
12Aug 2, 2025 20:344,76462,473,53938,529,0001,013,0002,519,040
13Aug 2, 2025 20:344,76565,783,15937,525,0002,028,0002,453,504
14Aug 2, 2025 20:344,76870,109,71038,562,0001,014,0002,445,312
15Aug 2, 2025 20:344,77564,794,13838,614,0001,016,0002,293,760
16Aug 2, 2025 20:344,79966,088,70537,838,0001,991,0002,519,040
17Aug 2, 2025 20:344,82960,193,78039,077,0001,001,0002,519,040
18Aug 2, 2025 20:344,84562,358,24037,196,0003,015,0002,519,040