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 listJul 14, 2024 17:28Omar NomadOmar NomadScore: 75,392Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 14, 2024 17:2875,317694,888,457625,129,56302,265,088
2Jul 14, 2024 17:2675,321684,864,699625,163,14002,273,280
3Jul 14, 2024 17:2675,365680,409,703625,526,50902,392,064
4Jul 14, 2024 17:2875,392677,175,861625,755,63702,260,992
5Jul 14, 2024 17:2675,401692,876,231625,829,09102,256,896
6Jul 14, 2024 17:2875,485664,552,237626,522,44302,260,992