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 14:12GraceGraceScore: 6,248Success
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 14:126,21880,279,96850,601,0001,012,0002,519,040
2May 27, 2024 14:126,21983,092,88850,609,0001,012,0002,379,776
3May 27, 2024 14:126,22377,018,18451,649,00002,383,872
4May 27, 2024 14:126,22678,939,47550,663,0001,013,0002,387,968
5May 27, 2024 14:126,22877,773,76151,693,00002,383,872
6May 27, 2024 14:126,24376,730,69949,823,0001,992,0002,387,968
7May 27, 2024 14:126,24481,494,68250,829,000996,0002,379,776
8May 27, 2024 14:126,24481,184,50150,828,000996,0002,260,992
9May 27, 2024 14:126,24476,782,33250,827,000996,0002,523,136
10May 27, 2024 14:126,24483,652,83350,830,000996,0002,260,992
11May 27, 2024 14:126,24482,048,44950,827,000996,0002,260,992
12May 27, 2024 14:126,24578,926,18050,841,000996,0002,260,992
13May 27, 2024 14:126,24779,675,75650,855,000997,0002,392,064
14May 27, 2024 14:126,24785,800,27449,853,0001,994,0002,260,992
15May 27, 2024 14:126,24782,836,78350,851,000997,0002,260,992
16May 27, 2024 14:126,24885,757,84650,841,0001,016,0002,260,992
17May 27, 2024 14:126,24877,281,74751,856,00002,387,968
18May 27, 2024 14:126,25176,511,15749,887,0001,995,0002,260,992
19May 27, 2024 14:126,26081,834,02349,957,0001,998,0002,523,136
20May 27, 2024 14:126,26378,470,04350,981,000999,0002,260,992
21May 27, 2024 14:126,28277,678,24350,139,0002,005,0002,387,968
22May 27, 2024 14:126,33879,214,38651,598,0001,011,0002,379,776
23May 27, 2024 14:126,37379,342,63851,897,000998,0002,260,992
24May 27, 2024 14:126,39783,849,02151,094,0002,003,0002,260,992
25May 27, 2024 14:126,461120,744,99353,630,00002,269,184
26May 27, 2024 14:126,477105,218,33253,761,99102,260,992
27May 27, 2024 14:126,482122,026,22953,802,67402,277,376
28May 27, 2024 14:126,507113,611,94654,005,90802,277,376
29May 27, 2024 14:126,517120,677,32054,087,06102,277,376
30May 27, 2024 14:126,625127,090,48654,988,09002,269,184