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 listSep 28, 2025 07:19sheryllynn24sheryllynn24Score: 6,327Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 28, 2025 07:196,21374,118,06150,553,0001,011,0002,265,088
2Sep 28, 2025 07:196,22578,230,08951,667,00002,289,664
3Sep 28, 2025 07:196,25080,693,89849,882,0001,995,0002,289,664
4Sep 28, 2025 07:196,32774,546,32451,504,0001,009,0002,289,664
5Sep 28, 2025 07:196,33577,496,32551,572,0001,011,0002,289,664
6Sep 28, 2025 07:196,34079,315,98752,625,00002,523,136