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 27, 2026 06:03wnwnError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Apr 29, 2026 19:39Yuriy Lyfenko10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 29, 2026 19:400237,657,342224,097,0001,000,0002,547,712expected "24979067788 ", got "19723874787 "
2Apr 29, 2026 19:400241,614,812224,344,0001,001,0002,490,368expected "24973268889 ", got "19718623635 "
3Apr 29, 2026 19:400241,309,981224,404,0001,001,0002,482,176expected "24976718218 ", got "19721335542 "
4Apr 27, 2026 06:043,39947,043,07727,209,0001,007,0002,486,272
5Apr 27, 2026 06:043,40440,247,84827,251,0001,009,0002,490,368
6Apr 27, 2026 06:043,43046,290,92327,453,0001,016,0002,490,368
7Apr 27, 2026 06:043,43743,698,90727,513,0001,019,0002,490,368
8Apr 27, 2026 06:043,43841,154,83527,524,0001,019,0002,330,624
9Apr 27, 2026 06:043,44543,309,48927,576,0001,021,0002,473,984
10Apr 27, 2026 06:043,45444,512,16727,650,0001,024,0002,486,272
11Apr 27, 2026 06:043,60546,422,77027,933,0001,995,0002,482,176
12Apr 27, 2026 06:043,63648,196,98529,181,0001,006,0002,486,272