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 19:55Jack FrigaardJack FrigaardScore: 5,079Success
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 19:555,06665,382,98739,048,0003,003,0002,437,120
2Aug 3, 2025 19:555,06869,654,35639,060,0003,004,0002,519,040
3Aug 3, 2025 19:555,06968,687,47839,065,0003,005,0002,453,504
4Aug 3, 2025 19:555,07066,638,80139,074,0003,005,0002,519,040
5Aug 3, 2025 19:555,07163,736,69139,081,0003,006,0002,445,312
6Aug 3, 2025 19:555,07563,815,23339,115,0003,008,0002,519,040
7Aug 3, 2025 19:555,07666,861,21739,120,0003,009,0002,519,040
8Aug 3, 2025 19:555,07670,049,06740,127,0002,006,0002,437,120
9Aug 3, 2025 19:555,07769,079,15840,133,0002,006,0002,519,040
10Aug 3, 2025 19:555,07967,509,07239,148,0003,011,0002,519,040
11Aug 3, 2025 19:555,08068,274,14439,154,0003,011,0002,519,040
12Aug 3, 2025 19:555,08169,409,10439,161,0003,012,0002,519,040
13Aug 3, 2025 19:555,08865,774,74240,218,0002,010,0002,510,848
14Aug 3, 2025 19:555,09566,846,74039,270,0003,020,0002,519,040
15Aug 3, 2025 19:555,09864,447,81740,298,0002,014,0002,437,120
16Aug 3, 2025 19:555,10968,112,30740,383,0002,019,0002,519,040
17Aug 3, 2025 19:555,12763,537,70139,513,0003,039,0002,519,040
18Aug 3, 2025 19:555,13167,812,91540,559,0002,027,0002,433,024