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 17, 2024 04:28richu shaji abrahamrichu shaji abrahamScore: 99,408Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 17, 2024 04:2899,255887,282,826823,820,30402,203,648
2May 17, 2024 04:2899,408881,484,127825,089,08302,215,936
3May 17, 2024 04:2899,743896,778,368827,868,27502,220,032