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:49GraceGraceScore: 6,144Success
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:495,85477,035,72947,578,0001,012,0002,285,568
2May 27, 2024 13:495,91773,640,03347,111,0002,004,0002,285,568
3May 27, 2024 13:505,92377,139,51747,156,0002,006,0002,531,328
4May 27, 2024 13:495,95075,611,11047,374,0002,015,0002,285,568
5May 27, 2024 13:505,95371,986,60048,403,0001,008,0002,285,568
6May 27, 2024 13:505,96075,038,20149,468,00002,273,280
7May 27, 2024 13:506,00773,717,29447,860,0001,994,0002,285,568
8May 27, 2024 13:506,01872,504,77947,949,0001,997,0002,269,184
9May 27, 2024 13:496,04471,802,14348,156,0002,006,0002,285,568
10May 27, 2024 13:496,06472,462,67348,315,0002,013,0002,285,568
11May 27, 2024 13:496,07374,430,44349,395,0001,008,0002,273,280
12May 27, 2024 13:506,10380,561,11349,640,0001,013,0002,285,568
13May 27, 2024 13:506,12972,767,35348,877,0001,995,0002,269,184
14May 27, 2024 13:506,13376,934,18349,903,000998,0002,273,280
15May 27, 2024 13:506,14378,417,18149,992,000999,0002,285,568
16May 27, 2024 13:506,14475,833,17148,997,0001,999,0002,285,568
17May 27, 2024 13:496,17078,687,76149,200,0002,008,0002,269,184
18May 27, 2024 13:496,19183,628,27150,375,0001,007,0002,387,968
19May 27, 2024 13:506,24679,204,03149,850,0001,994,0002,285,568
20May 27, 2024 13:496,26776,317,65450,020,0002,000,0002,269,184
21May 27, 2024 13:496,28975,008,67450,193,0002,007,0002,285,568
22May 27, 2024 13:496,32275,164,71951,461,0001,009,0002,269,184
23May 27, 2024 13:496,34681,182,08651,659,0001,012,0002,285,568
24May 27, 2024 13:506,43375,695,23051,383,0002,015,0002,519,040
25May 27, 2024 13:506,882113,843,53957,120,40702,289,664
26May 27, 2024 13:496,914111,419,10157,386,81702,297,856
27May 27, 2024 13:496,920127,810,20957,436,73102,297,856
28May 27, 2024 13:506,954126,944,44157,716,15102,289,664
29May 27, 2024 13:506,955116,620,01057,725,78902,289,664
30May 27, 2024 13:497,048124,102,64458,495,49102,285,568