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 listOct 21, 2023 01:39goon-goon-Score: 58,626Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 21, 2023 01:3958,529565,952,169485,786,56602,277,376
2Oct 21, 2023 01:3958,626557,506,966486,594,55502,281,472
3Oct 21, 2023 01:3958,722561,964,299487,390,29602,277,376