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 19, 2021 18:43Yurkov AlekseyYurkov AlekseyScore: 32,414Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 19, 2021 18:4532,273322,277,050267,868,43902,236,416
2May 19, 2021 18:4532,283320,944,301267,952,62502,289,664
3May 19, 2021 18:4532,296322,145,729268,056,29802,240,512
4May 19, 2021 18:4332,414337,667,881269,034,78002,281,472
5May 19, 2021 18:4332,422340,198,071269,103,08502,285,568
6May 19, 2021 18:4332,467342,874,365269,475,79202,289,664