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 listAug 19, 2026 07:39Lan Hoang DaoLan Hoang DaoError
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 19, 2026 07:390618,935,286549,200,00059,033,0002,113,536expected "53691403262321503 ", got "137342292562321503 "
2Aug 19, 2026 07:390619,634,301549,380,00059,426,0002,113,536expected "53688568004352368 ", got "137333010504352368 "
3Aug 19, 2026 07:390619,594,674549,434,00059,317,0002,113,536expected "53680498851257287 ", got "137387893251257287 "