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 listOct 17, 2026 15:49timothygktimothygkError
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 17, 2026 15:490289,841,173277,281,0001,090,0002,117,632expected "53689765536236549 ", got "53689986784965270 "stderr
2Oct 17, 2026 15:490289,987,045277,493,0001,005,0002,117,632expected "53684141724560943 ", got "53684152310576725 "stderr
3Oct 17, 2026 15:4933,525289,780,707277,160,0001,105,0002,117,632stderr