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 listOct 22, 2026 00:38timothygktimothygkError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Oct 25, 2026 16:30Andrew Epstein29.60CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 25, 2026 16:300187,303,578170,533,0005,327,0002,117,632expected "9634142780955129 ", got "9634130114209293 "stderr
2Oct 25, 2026 16:300135,954,938119,891,0005,196,0002,117,632expected "104110044164 ", got "93595080522 "stderr
3Oct 25, 2026 16:30027,380,73111,278,0005,269,00020,480No answer to stdout. Died or killed?stderr
4Oct 22, 2026 00:3816,419147,677,771130,899,0005,380,0002,117,632stderr
5Oct 22, 2026 00:3816,435147,294,935131,060,0005,358,0002,117,632stderr
6Oct 22, 2026 00:3816,443147,511,162130,750,0005,729,0002,117,632stderr
7Oct 22, 2026 00:3816,447148,781,101131,132,0005,385,0002,117,632stderr
8Oct 22, 2026 00:3816,454148,037,209131,102,0005,472,0002,117,632stderr
9Oct 22, 2026 00:3816,461147,516,881131,280,0005,351,0002,117,632stderr
10Oct 22, 2026 00:3816,474148,165,150131,291,0005,445,0002,117,632stderr
11Oct 22, 2026 00:3816,485147,759,909131,359,0005,474,0002,117,632stderr
12Oct 22, 2026 00:3816,508148,578,831131,421,0005,602,0002,117,632stderr