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 10, 2026 07:09Victor MerckléVictor MerckléError
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 10, 2026 07:100104,653,22193,271,0001,188,0002,129,920expected "53683687430548161 ", got "36927946857355457 "
2Jun 10, 2026 07:100101,600,46191,617,0001,189,0002,174,976expected "53686891009748880 ", got "36933152431193744 "
3Jun 10, 2026 07:100102,943,63592,735,0001,198,0002,129,920expected "53686920206976036 ", got "36916634095694116 "