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 listJan 1, 2023 16:57Hal FHal FScore: 6,879Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 1, 2023 16:576,70881,986,15554,667,0001,012,0002,478,080
2Jan 1, 2023 16:576,73478,550,28452,898,0002,994,0002,285,568
3Jan 1, 2023 16:576,78280,999,13753,276,0003,015,0002,482,176
4Jan 1, 2023 16:576,78784,866,09553,318,0003,018,0002,306,048
5Jan 1, 2023 16:576,79383,288,27653,365,0003,020,0002,285,568
6Jan 1, 2023 16:576,82087,261,16655,599,0001,010,0002,482,176
7Jan 1, 2023 16:576,85679,687,22853,913,0002,995,0002,285,568
8Jan 1, 2023 16:576,87984,413,51454,093,0003,005,0002,285,568
9Jan 1, 2023 16:576,89383,089,21154,202,0003,011,0002,285,568
10Jan 1, 2023 16:576,94183,376,66256,601,0001,010,0002,285,568
11Jan 1, 2023 16:576,96083,387,84356,775,000996,0002,285,568
12Jan 1, 2023 16:577,24083,415,14359,091,0001,001,0002,289,664
13Jan 1, 2023 16:577,585139,110,15962,956,92202,232,320
14Jan 1, 2023 16:577,630133,396,68963,332,06902,220,032
15Jan 1, 2023 16:577,642124,920,25263,424,65002,228,224