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 listMay 27, 2024 13:52GraceGraceScore: 6,885Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 27, 2024 13:526,75183,673,78754,032,0002,001,0002,387,968
2May 27, 2024 13:526,75282,231,27354,042,0002,001,0002,260,992
3May 27, 2024 13:526,75481,652,63855,061,0001,001,0002,387,968
4May 27, 2024 13:526,75579,457,72356,067,00002,379,776
5May 27, 2024 13:526,75588,440,32255,068,0001,001,0002,265,088
6May 27, 2024 13:526,75788,908,70354,081,0002,003,0002,392,064
7May 27, 2024 13:526,75885,847,86354,088,0002,003,0002,260,992
8May 27, 2024 13:526,76080,825,94554,104,0002,003,0002,379,776
9May 27, 2024 13:526,76680,808,34355,156,0001,002,0002,379,776
10May 27, 2024 13:526,77782,485,56256,251,00002,523,136
11May 27, 2024 13:526,78979,134,21455,339,0001,006,0002,260,992
12May 27, 2024 13:526,82084,611,98955,595,0001,010,0002,379,776
13May 27, 2024 13:526,84689,261,96654,831,0001,993,0002,519,040
14May 27, 2024 13:526,87781,510,28856,074,0001,001,0002,260,992
15May 27, 2024 13:526,87784,644,83455,081,0002,002,0002,260,992
16May 27, 2024 13:526,88585,621,04656,142,0001,002,0002,383,872
17May 27, 2024 13:526,88783,133,63656,164,0001,002,0002,260,992
18May 27, 2024 13:526,89482,447,22555,213,0002,007,0002,523,136
19May 27, 2024 13:526,89684,435,96155,230,0002,008,0002,260,992
20May 27, 2024 13:526,90080,736,91755,258,0002,009,0002,260,992
21May 27, 2024 13:526,91981,253,10857,425,00002,260,992
22May 27, 2024 13:526,93383,689,21956,534,0001,009,0002,519,040
23May 27, 2024 13:526,96085,007,73556,771,000995,0002,260,992
24May 27, 2024 13:527,070127,061,10058,678,30302,281,472
25May 27, 2024 13:527,074117,664,21758,712,69202,277,376
26May 27, 2024 13:527,087125,805,73658,822,58702,277,376
27May 27, 2024 13:527,088119,882,34558,832,34102,269,184
28May 27, 2024 13:527,092116,073,13058,867,59402,273,280
29May 27, 2024 13:527,098136,536,97458,917,34102,273,280
30May 27, 2024 13:527,14384,610,02057,276,0002,009,0002,383,872