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 listMay 26, 2021 12:19lightkeeper217lightkeeper217Score: 1,585,679Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 26, 2021 12:361,575,39413,115,938,79413,075,773,48302,260,992
2May 26, 2021 12:361,579,71213,197,052,57213,111,606,61402,265,088
3May 26, 2021 12:411,580,78713,183,340,60313,120,531,62702,265,088
4May 26, 2021 12:411,580,99713,164,551,54813,122,276,39602,252,800
5May 26, 2021 12:401,582,27513,171,955,13413,132,879,22502,256,896
6May 26, 2021 12:401,582,77513,176,016,78113,137,033,27502,252,800
7May 26, 2021 12:411,585,67913,203,073,71613,161,139,56302,248,704
8May 26, 2021 12:191,596,46513,295,962,01913,250,655,38602,252,800
9May 26, 2021 12:191,596,55913,317,925,18513,251,435,88502,252,800
10May 26, 2021 12:191,597,14513,295,851,22413,256,299,36102,252,800
11May 26, 2021 12:401,642,41213,705,704,09513,632,019,63602,248,704
12May 26, 2021 12:361,653,21013,767,988,99913,721,646,76802,244,608