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 listJun 19, 2026 18:58Andrey LikhachevAndrey LikhachevError
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 19, 2026 18:580575,994,802565,813,0001,134,0002,117,632expected "53693037396337357 ", got "37733124307759888 "
2Jun 19, 2026 18:580576,317,541566,163,0001,111,0002,117,632expected "53688241469110245 ", got "37738947762809142 "
3Jun 19, 2026 18:580577,325,498567,116,0001,134,0002,117,632expected "53682199298157598 ", got "37732197623109219 "