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 listMar 18, 2026 03:32Yuriy LyfenkoYuriy LyfenkoError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Jul 7, 2026 03:07Victor Mercklé10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 7, 2026 03:07046,420,00135,889,0001,141,0002,117,632expected "74600294196621100 ", got "15171790704258860 "
2Jul 7, 2026 03:07045,755,82636,431,0001,197,0002,117,632expected "74600294196621100 ", got "16895846256258860 "
3Jul 7, 2026 03:07045,016,13435,937,0001,202,0002,117,632expected "74600294196621100 ", got "16895846256258860 "
4Mar 18, 2026 03:324,66264,154,31737,673,0001,018,0002,478,080
5Mar 18, 2026 03:324,66966,105,76537,761,000993,0002,473,984
6Mar 18, 2026 03:324,67464,804,08737,804,000994,0002,473,984
7Mar 18, 2026 03:324,67761,321,77437,822,000995,0002,531,328
8Mar 18, 2026 03:324,69465,418,67836,965,0001,998,0002,465,792
9Mar 18, 2026 03:324,71564,795,82937,130,0002,007,0002,531,328
10Mar 18, 2026 03:324,92566,997,05938,883,0001,994,0002,469,888
11Mar 18, 2026 03:324,93373,512,12938,948,0001,997,0002,281,472
12Mar 18, 2026 03:324,93665,659,10938,969,0001,998,0002,531,328