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 6, 2026 00:33TonyTonyError
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 6, 2026 00:33074,232,54561,767,0002,570,0002,113,536expected "53682740012777184 ", got "53682540141783070 "
2Aug 6, 2026 00:33074,372,69461,890,0002,665,0002,113,536expected "53682091689886841 ", got "53681906604246300 "
3Aug 6, 2026 00:33074,606,45562,087,0002,697,0002,113,536expected "53687522188066753 ", got "53687313484779488 "