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 listMay 17, 2026 17:04user76135user76135Error
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 17, 2026 17:0406,471,464,3376,396,577,00065,043,0002,113,536expected "53686105314458002 ", got "Sum: 53686105314460512 "
2May 17, 2026 17:0406,562,073,3436,483,685,00065,260,0002,113,536expected "53693520435254409 ", got "Sum: 53693520435255632 "
3May 17, 2026 17:0406,470,163,2036,396,452,00064,081,0002,113,536expected "53681684679808131 ", got "Sum: 53681684679794480 "