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 10, 2026 18:28Lan 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 10, 2026 18:280772,485,488698,095,00064,206,0002,113,536expected "53685524890423107 ", got "53245072753282296 "
2Aug 10, 2026 18:280772,175,929698,042,00064,124,0002,113,536expected "53683711171515572 ", got "53242792601114294 "
3Aug 10, 2026 18:280773,079,543698,764,00064,153,0002,113,536expected "53692050068757119 ", got "53251410189934464 "