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:25sheryllynn24sheryllynn24Score: 6,315Success
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:256,22083,647,68350,616,0001,012,0002,289,664
2Sep 28, 2025 07:256,22081,891,09950,611,0001,012,0002,273,280
3Sep 28, 2025 07:256,22080,106,06750,610,0001,012,0002,289,664
4Sep 28, 2025 07:256,31578,681,53551,407,0001,007,0002,289,664
5Sep 28, 2025 07:256,34481,574,52152,659,00002,273,280
6Sep 28, 2025 07:256,40478,411,76051,152,0002,005,0002,289,664