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 listApr 7, 2024 08:58E SequeiraE SequeiraScore: 55,191Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 6, 2024 06:5955,037520,403,003456,808,27802,285,568
2Apr 6, 2024 06:5955,081533,246,787457,173,70602,273,280
3Apr 7, 2024 08:5855,185516,519,091458,037,93902,269,184
4Apr 6, 2024 06:5955,191517,003,668458,084,81702,277,376
5Apr 7, 2024 08:5855,376526,880,848459,619,03102,269,184
6Apr 7, 2024 08:5858,224543,884,282483,262,21802,277,376