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 listNov 15, 2026 19:43Genos0Genos0Score: 56,720Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 15, 2026 19:4355,510471,562,453459,684,0001,052,0002,113,536
2Nov 15, 2026 19:4355,541472,502,529459,921,0001,071,0002,113,536
3Nov 15, 2026 19:4356,296478,165,524466,258,0001,001,0002,113,536
4Nov 15, 2026 19:4356,314478,752,423466,399,0001,008,0002,113,536
5Nov 15, 2026 19:4356,720482,215,429469,685,0001,095,0002,113,536
6Nov 15, 2026 19:4356,757482,493,644470,016,0001,073,0002,113,536
7Nov 15, 2026 19:4356,840483,320,361470,698,0001,081,0002,113,536
8Nov 15, 2026 19:4356,847482,713,292470,773,0001,061,0002,113,536
9Nov 15, 2026 19:4356,857482,898,350470,919,0001,001,0002,113,536