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 27, 2025 07:34sheryllynn24sheryllynn24Score: 6,367Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 27, 2025 07:346,25481,579,94249,912,0001,996,0002,289,664
2Sep 27, 2025 07:346,25780,471,01149,940,0001,997,0002,289,664
3Sep 27, 2025 07:346,31878,737,36850,423,0002,016,0002,289,664
4Sep 27, 2025 07:346,36779,171,05050,854,0001,994,0002,289,664
5Sep 27, 2025 07:346,38078,099,30250,953,0001,998,0002,273,280
6Sep 27, 2025 07:347,45891,769,34260,905,000998,0002,289,664