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 listFeb 5, 2024 15:55SaaskaSaaskaScore: 87,406Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 5, 2024 15:5587,368796,633,936725,157,05602,191,360
2Feb 5, 2024 15:5087,381778,298,927725,264,56702,183,168
3Feb 5, 2024 15:5087,384777,240,972725,290,33702,183,168
4Feb 5, 2024 15:5587,406779,996,305725,470,50702,183,168
5Feb 5, 2024 15:5087,445787,385,337725,793,74802,301,952
6Feb 5, 2024 15:5587,473792,040,465726,026,45802,183,168