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 18, 2023 20:29Jean-Francois SMIGIELSKIJean-Francois SMIGIELSKIScore: 91,139Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 18, 2023 20:2991,110827,170,346756,216,61702,289,664
2Jul 18, 2023 20:2991,121824,874,454756,305,72602,289,664
3Jul 18, 2023 20:2991,133823,193,658756,401,09702,281,472
4Jul 18, 2023 20:2991,139822,153,459756,449,74602,277,376
5Jul 18, 2023 20:2991,143819,714,097756,484,21502,285,568
6Jul 18, 2023 20:2991,143818,168,127756,486,57002,277,376