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 listAug 14, 2026 12:24marko1597marko1597Score: 276,510Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 14, 2026 12:25272,0742,268,139,2702,015,456,000242,759,0002,125,824stderr
2Aug 14, 2026 12:25276,5102,304,882,0402,052,602,000242,435,0002,125,824stderr
3Aug 14, 2026 12:25277,2072,310,767,8782,057,020,000243,802,0002,125,824stderr