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,764Success
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,65077,133,09152,188,0003,010,0002,478,080
2Jan 1, 2023 16:576,67774,844,18752,399,0003,023,0002,277,376
3Jan 1, 2023 16:576,69789,333,82854,574,0001,010,0002,478,080
4Jan 1, 2023 16:576,72784,383,24053,842,0001,994,0002,285,568
5Jan 1, 2023 16:576,73177,962,57452,878,0002,993,0002,478,080
6Jan 1, 2023 16:576,73885,224,47452,933,0002,996,0002,473,984
7Jan 1, 2023 16:576,74183,157,21352,955,0002,997,0002,285,568
8Jan 1, 2023 16:576,76482,245,73053,132,0003,007,0002,285,568
9Jan 1, 2023 16:576,77283,882,93554,199,0002,007,0002,285,568
10Jan 1, 2023 16:576,78482,012,87154,295,0002,010,0002,285,568
11Jan 1, 2023 16:576,90578,678,13754,294,0003,016,0002,285,568
12Jan 1, 2023 16:577,10785,157,85357,993,000999,0002,285,568
13Jan 1, 2023 16:577,432117,195,87761,683,95302,220,032
14Jan 1, 2023 16:577,557130,127,57162,719,60702,220,032
15Jan 1, 2023 16:577,910129,168,15665,650,52802,232,320