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 19, 2026 07:10wnwnError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Apr 20, 2026 16:54Yuriy Lyfenko10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 20, 2026 16:550140,828,826106,934,000999,0002,473,984expected "24970778957 ", got "9219869645 "
2Apr 20, 2026 16:550132,099,835113,405,0001,003,0002,473,984expected "24974324598 ", got "9221900099 "
3Apr 20, 2026 16:550134,080,306109,941,0001,998,0002,465,792expected "24972493410 ", got "9222481337 "
4Apr 19, 2026 07:103,51852,516,91427,183,0002,013,0002,490,368
5Apr 19, 2026 07:103,53355,436,62328,312,0001,011,0002,277,376
6Apr 19, 2026 07:103,53653,888,05728,338,0001,012,0002,531,328
7Apr 19, 2026 07:103,53758,539,84028,344,0001,012,0002,494,464
8Apr 19, 2026 07:103,54954,572,10428,445,0001,015,0002,494,464
9Apr 19, 2026 07:103,55153,087,84428,458,0001,016,0002,498,560
10Apr 19, 2026 07:103,56250,440,90028,549,0001,019,0002,277,376
11Apr 19, 2026 07:103,59561,592,12327,851,0001,989,0002,498,560
12Apr 19, 2026 07:103,59854,499,49228,867,000995,0002,277,376