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:56Hal FHal FScore: 6,865Success
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:566,72590,597,54052,826,0002,990,0002,285,568
2Jan 1, 2023 16:566,74678,648,37753,989,0001,999,0002,478,080
3Jan 1, 2023 16:566,78081,300,75453,258,0003,014,0002,285,568
4Jan 1, 2023 16:566,79781,677,53753,395,0003,022,0002,285,568
5Jan 1, 2023 16:566,81283,813,14153,509,0003,028,0002,306,048
6Jan 1, 2023 16:566,85179,867,83953,874,0002,993,0002,285,568
7Jan 1, 2023 16:566,86184,345,16455,951,000999,0002,285,568
8Jan 1, 2023 16:566,86579,614,58453,981,0002,998,0002,285,568
9Jan 1, 2023 16:566,89083,935,32754,177,0003,009,0002,285,568
10Jan 1, 2023 16:566,89280,720,72455,193,0002,007,0002,461,696
11Jan 1, 2023 16:566,92178,197,35754,418,0003,023,0002,285,568
12Jan 1, 2023 16:566,96684,399,51356,822,000996,0002,457,600
13Jan 1, 2023 16:567,620121,541,36063,247,98502,228,224
14Jan 1, 2023 16:567,678134,899,83863,724,29202,232,320
15Jan 1, 2023 16:567,729122,448,44164,152,85502,252,800