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:36Hal FHal FScore: 6,722Success
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:326,60380,589,15052,812,0001,992,0002,285,568
2Jan 1, 2023 16:366,60975,244,50152,857,0001,994,0002,285,568
3Jan 1, 2023 16:366,61078,346,26451,867,0002,992,0002,473,984
4Jan 1, 2023 16:326,64577,960,40552,147,0003,008,0002,285,568
5Jan 1, 2023 16:366,64781,887,33453,165,0002,006,0002,285,568
6Jan 1, 2023 16:326,64979,930,13052,179,0003,010,0002,285,568
7Jan 1, 2023 16:326,66378,446,34652,284,0003,016,0002,482,176
8Jan 1, 2023 16:366,66582,428,71852,303,0003,017,0002,473,984
9Jan 1, 2023 16:366,67080,225,42052,342,0003,019,0002,285,568
10Jan 1, 2023 16:326,68375,349,28153,456,0002,017,0002,478,080
11Jan 1, 2023 16:366,69080,788,47154,519,0001,009,0002,469,888
12Jan 1, 2023 16:366,70380,293,31453,614,0002,023,0002,285,568
13Jan 1, 2023 16:366,72084,723,26552,789,0002,988,0002,285,568
14Jan 1, 2023 16:366,72288,063,84752,806,0002,989,0002,478,080
15Jan 1, 2023 16:366,73285,520,34152,880,0002,993,0002,289,664
16Jan 1, 2023 16:326,73384,152,68252,890,0002,993,0002,310,144
17Jan 1, 2023 16:366,76478,653,66854,137,0002,005,0002,478,080
18Jan 1, 2023 16:326,82486,662,94655,630,0001,011,0002,342,912
19Jan 1, 2023 16:326,87079,144,73854,018,0003,001,0002,478,080
20Jan 1, 2023 16:326,98190,392,51454,947,0002,997,0002,482,176
21Jan 1, 2023 16:367,25680,634,47259,223,0001,003,0002,285,568
22Jan 1, 2023 16:327,407127,438,59361,479,09102,220,032
23Jan 1, 2023 16:327,449122,951,14061,823,68002,211,840
24Jan 1, 2023 16:367,469114,775,14861,992,14102,215,936
25Jan 1, 2023 16:367,511121,033,37862,339,55202,215,936
26Jan 1, 2023 16:367,664137,641,42863,614,27602,215,936
27Jan 1, 2023 16:328,253139,486,19268,499,13302,215,936