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 16:41Omar NomadOmar NomadScore: 1,646,379Success
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 16:411,646,22713,723,646,81613,663,686,96802,256,896
2Jul 14, 2024 16:411,646,37913,731,365,08613,664,948,48102,265,088
3Jul 14, 2024 16:411,647,82913,733,939,17613,676,976,92202,269,184