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 12, 2026 00:54Josu San MartinJosu San MartinError
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 12, 2026 00:54045,769,12134,813,0001,076,0002,113,536expected "53696671956575731 ", got "53696889961641247 "
2May 12, 2026 00:54042,226,76632,943,0001,110,0002,113,536expected "53687928803107649 ", got "53687928803471569 "
3May 12, 2026 00:54057,392,81848,502,0001,159,0002,113,536expected "53685341693387772 ", got "53685341700205938 "