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 30, 2021 11:39Ilya AniskovetsIlya AniskovetsScore: 67,545Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 30, 2021 11:3967,507637,771,455560,305,01202,244,608
2Aug 30, 2021 11:4167,536604,084,097560,547,30102,240,512
3Aug 30, 2021 11:4167,537614,455,169560,558,88802,240,512
4Aug 30, 2021 11:4167,545630,692,548560,621,42502,236,416
5Aug 30, 2021 11:3967,624617,240,294561,279,24402,236,416
6Aug 30, 2021 11:3967,679632,622,710561,734,05502,240,512