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:11Hal FHal FScore: 6,967Success
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:116,86189,626,89154,951,0001,998,0002,498,560
2Jan 1, 2023 16:116,88478,386,01055,131,0002,004,0002,285,568
3Jan 1, 2023 16:116,90286,269,23056,283,0001,005,0002,334,720
4Jan 1, 2023 16:116,90780,445,44055,313,0002,011,0002,494,464
5Jan 1, 2023 16:116,90778,442,38354,313,0003,017,0002,342,912
6Jan 1, 2023 16:116,93785,129,49053,536,0004,040,0002,424,832
7Jan 1, 2023 16:116,96180,079,40655,782,0001,992,0002,277,376
8Jan 1, 2023 16:116,96788,460,96055,836,0001,994,0002,285,568
9Jan 1, 2023 16:117,03784,082,64655,384,0003,020,0002,285,568
10Jan 1, 2023 16:117,09283,606,32355,869,0002,992,0002,314,240
11Jan 1, 2023 16:117,09883,713,76056,916,0001,997,0002,338,816
12Jan 1, 2023 16:117,21287,130,80256,866,0002,992,0002,314,240
13Jan 1, 2023 16:117,798144,239,28364,720,89102,252,800
14Jan 1, 2023 16:117,831125,515,38264,996,59802,211,840
15Jan 1, 2023 16:117,905125,690,46865,612,14302,203,648