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 listMay 21, 2025 13:18vahookvahookError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Nov 5, 2026 07:14Petro Mudrievskyj10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 5, 2026 07:15016,832,9727,482,00002,113,536expected "225012579 ", got "107153434250571456 "
2Nov 5, 2026 07:15016,743,0507,408,00002,113,536expected "225015541 ", got "107153434250571456 "
3Nov 5, 2026 07:15016,825,1647,486,00002,113,536expected "224987699 ", got "107153434250571456 "
4May 21, 2025 13:184,73066,256,17637,243,0002,013,0002,273,280
5May 21, 2025 13:184,73162,123,31335,242,0004,027,0002,527,232
6May 21, 2025 13:184,74162,417,38537,333,0002,018,0002,273,280
7May 21, 2025 13:184,77068,202,31436,550,0003,045,0002,433,024
8May 21, 2025 13:184,77562,870,87336,584,0003,048,0002,469,888
9May 21, 2025 13:184,78069,064,62337,637,0002,034,0002,437,120
10May 21, 2025 13:184,81362,556,18437,952,0001,997,0002,273,280
11May 21, 2025 13:184,85461,449,42938,272,0002,014,0002,273,280
12May 21, 2025 13:184,88166,608,75038,491,0002,025,0002,437,120
13May 21, 2025 13:184,88561,881,69937,502,0003,040,0002,424,832
14May 21, 2025 13:184,89069,061,94637,547,0003,044,0002,273,280
15May 21, 2025 13:184,89464,011,18038,591,0002,031,0002,273,280