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 31, 2024 06:01GraceGraceScore: 9,605Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 31, 2024 06:029,448138,737,00578,420,47202,285,568
2May 31, 2024 06:019,460141,279,39778,517,42002,293,760
3May 31, 2024 06:029,487152,028,07578,738,61002,281,472
4May 31, 2024 06:029,605137,654,50279,724,37402,289,664
5May 31, 2024 06:019,626139,349,67779,898,21502,289,664
6May 31, 2024 06:019,629139,259,12279,921,56202,277,376