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 listFeb 4, 2025 07:44mebowlermebowlerScore: 72,422Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 5, 2025 05:4672,387635,110,234599,811,000999,0002,326,528
2Feb 4, 2025 07:4472,395622,025,128599,876,000999,0002,326,528
3Feb 4, 2025 07:4472,403628,644,480599,948,000999,0002,318,336
4Feb 5, 2025 05:4672,404624,273,368599,955,000999,0002,326,528
5Feb 4, 2025 07:4472,406623,941,238598,969,0001,999,0002,330,624
6Feb 5, 2025 05:4672,409625,899,924597,996,0002,999,0002,330,624
7Feb 5, 2025 05:4672,412628,600,671598,020,0003,000,0002,326,528
8Feb 4, 2025 07:4472,419630,281,105600,080,0001,000,0002,330,624
9Feb 5, 2025 05:4672,421630,918,275598,096,0003,000,0002,330,624
10Feb 4, 2025 07:4472,422626,103,810600,100,0001,000,0002,322,432
11Feb 4, 2025 07:4472,424629,042,366600,117,0001,000,0002,326,528
12Feb 5, 2025 05:4672,424620,671,986599,121,0002,000,0002,330,624
13Feb 5, 2025 05:4672,425630,575,281599,130,0002,000,0002,322,432
14Feb 4, 2025 07:4472,429627,064,328599,163,0002,000,0002,330,624
15Feb 5, 2025 05:4672,445633,574,778600,294,0001,000,0002,322,432
16Feb 4, 2025 07:4472,450628,804,276600,333,0001,000,0002,330,624
17Feb 4, 2025 07:4472,455628,654,026601,378,00002,326,528
18Feb 5, 2025 05:4672,463631,566,083596,449,0004,995,0002,322,432