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 listApr 30, 2025 11:56vahookvahookError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Nov 5, 2026 08:10Petro Mudrievskyj10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 5, 2026 08:13052,696,00243,526,00002,113,536expected "224996827 ", got "224996824 "
2Nov 5, 2026 08:13054,830,55044,705,00002,113,536expected "225016915 ", got "225016913 "
3Nov 5, 2026 08:135,37853,826,84544,644,00002,113,536
4Apr 30, 2025 11:5836,839326,000,506303,762,0001,998,0002,490,368
5Apr 30, 2025 11:5836,839329,795,300303,763,0001,998,0002,273,280
6Apr 30, 2025 11:5836,846323,279,030303,820,0001,998,0002,273,280
7Apr 30, 2025 11:5836,849325,571,597303,847,0001,998,0002,494,464
8Apr 30, 2025 11:5836,849327,727,552303,851,0001,999,0002,273,280
9Apr 30, 2025 11:5836,857330,288,006303,910,0001,999,0002,273,280
10Apr 30, 2025 11:5836,869327,363,228304,014,0002,000,0002,494,464
11Apr 30, 2025 11:5836,875331,744,773304,062,0002,000,0002,490,368
12Apr 30, 2025 11:5836,879329,944,908304,092,0002,000,0002,494,464
13Apr 30, 2025 11:5637,069329,299,850305,675,0001,997,0002,527,232
14Apr 30, 2025 11:5637,070330,177,474305,683,0001,997,0002,490,368
15Apr 30, 2025 11:5637,072335,064,055305,701,0001,998,0002,273,280
16Apr 30, 2025 11:5637,075333,331,994305,723,0001,998,0002,498,560
17Apr 30, 2025 11:5637,081335,155,312305,775,0001,998,0002,490,368
18Apr 30, 2025 11:5637,084332,316,893305,797,0001,998,0002,273,280
19Apr 30, 2025 11:5637,093333,304,596305,870,0001,999,0002,527,232
20Apr 30, 2025 11:5637,106331,374,911305,983,0001,999,0002,494,464
21Apr 30, 2025 11:5637,109330,491,511307,005,0001,000,0002,273,280