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 listDec 30, 2024 23:31tkaltkalScore: 103,070Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 30, 2024 23:31102,395876,366,201667,905,000181,974,0002,273,280
2Dec 30, 2024 23:31102,526878,861,596662,973,000187,992,0002,273,280
3Dec 30, 2024 23:31102,791883,231,745642,127,000211,042,0002,281,472
4Dec 30, 2024 23:31102,820881,041,727671,535,000181,874,0002,273,280
5Dec 30, 2024 23:31102,882877,212,669685,934,000167,983,0002,273,280
6Dec 30, 2024 23:31102,899881,174,959658,048,000196,014,0002,273,280
7Dec 30, 2024 23:31103,070879,933,513654,606,000200,879,0002,273,280
8Dec 30, 2024 23:31103,146880,301,999665,085,000191,024,0002,273,280
9Dec 30, 2024 23:31103,322882,428,460665,670,000191,905,0002,273,280
10Dec 30, 2024 23:31103,381880,542,379666,048,000192,013,0002,404,352
11Dec 30, 2024 23:31103,475882,477,997682,878,000175,968,0002,273,280
12Dec 30, 2024 23:31103,705884,563,080662,807,000197,942,0002,273,280