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 1, 2024 17:33E SequeiraE SequeiraScore: 68,520Success
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:1668,404640,793,679567,750,19602,269,184
2Apr 1, 2024 17:3368,464626,318,318568,254,49902,265,088
3Apr 6, 2024 06:1668,518649,778,061568,695,81702,265,088
4Apr 6, 2024 06:1668,520626,329,336568,715,77902,269,184
5Apr 1, 2024 17:3368,541638,541,309568,886,55402,265,088
6Apr 1, 2024 17:3368,585634,737,854569,251,48702,269,184