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 listOct 9, 2023 01:01sliceteamsliceteamScore: 9,014Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 9, 2023 01:018,993103,807,85673,633,0001,008,0002,387,968
2Oct 9, 2023 01:018,997102,834,70073,664,0001,009,0002,387,968
3Oct 9, 2023 01:018,998100,605,26073,671,0001,009,0002,392,064
4Oct 9, 2023 01:019,010106,451,13073,785,000997,0002,523,136
5Oct 9, 2023 01:019,012102,141,31772,804,0001,994,0002,506,752
6Oct 9, 2023 01:019,013103,718,23573,807,000997,0002,260,992
7Oct 9, 2023 01:019,014102,260,26572,822,0001,995,0002,260,992
8Oct 9, 2023 01:019,01499,179,95973,823,000997,0002,383,872
9Oct 9, 2023 01:019,016101,341,54072,838,0001,995,0002,260,992
10Oct 9, 2023 01:019,875146,713,29681,960,17702,260,992
11Oct 9, 2023 01:019,890142,165,67182,088,12202,265,088
12Oct 9, 2023 01:019,898132,155,38282,154,24902,248,704
13Oct 9, 2023 01:0110,734118,098,85587,088,0002,002,0002,256,896
14Oct 9, 2023 01:0110,750117,074,87887,220,0002,005,0002,387,968
15Oct 9, 2023 01:0110,776114,141,59189,443,00002,519,040