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 listAug 13, 2023 21:51sliceteamsliceteamScore: 8,087Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 13, 2023 21:518,06689,354,10864,953,0001,998,0002,379,776
2Aug 13, 2023 21:518,06795,885,45464,954,0001,998,0002,527,232
3Aug 13, 2023 21:518,06994,704,65264,971,0001,999,0002,285,568
4Aug 13, 2023 21:518,07089,326,28964,979,0001,999,0002,260,992
5Aug 13, 2023 21:518,07591,251,69765,021,0002,000,0002,285,568
6Aug 13, 2023 21:518,08197,132,18665,070,0002,002,0002,285,568
7Aug 13, 2023 21:518,08794,910,54965,123,0002,003,0002,269,184
8Aug 13, 2023 21:518,08788,624,25065,117,0002,003,0002,514,944
9Aug 13, 2023 21:518,09789,533,19465,201,0002,006,0002,265,088
10Aug 13, 2023 21:518,11193,022,86866,320,0001,004,0002,285,568
11Aug 13, 2023 21:518,13691,519,29266,525,0001,007,0002,375,680
12Aug 13, 2023 21:518,17194,163,92765,827,0001,994,0002,285,568
13Aug 13, 2023 21:518,875124,719,70973,659,22002,293,760
14Aug 13, 2023 21:518,919140,896,00374,025,32902,293,760
15Aug 13, 2023 21:519,121139,193,86875,703,87402,252,800