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 listJul 1, 2026 07:29Genos0Genos0Error
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 1, 2026 07:2903,141,541,8593,066,696,00063,635,0002,134,016expected "53684924953323191 ", got "53684499416850716 "
2Jul 1, 2026 07:2903,010,812,4442,936,667,00062,985,0002,134,016expected "53692914563057635 ", got "53692528008278536 "
3Jul 1, 2026 07:2903,186,905,7033,113,002,00062,485,0002,134,016expected "53688264021774685 ", got "53687838910628683 "