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 02:34wnwnError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Jul 6, 2026 16:37Victor Mercklé10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 6, 2026 16:37037,671,66628,708,0001,004,0002,113,536expected "74600294196621100 ", got "74535197359616790 "
2Jul 6, 2026 16:37037,735,74628,204,0001,040,0002,113,536expected "74600294196621100 ", got "74534755430823648 "
3Jul 6, 2026 16:37037,458,43528,073,0001,008,0002,113,536expected "74600294196621100 ", got "74534755071968748 "
4Apr 27, 2026 02:343,40144,409,51327,224,0001,008,0002,494,464
5Apr 27, 2026 02:343,44547,523,32627,574,0001,021,0002,478,080
6Apr 27, 2026 02:343,46042,450,00627,698,0001,025,0002,482,176
7Apr 27, 2026 02:343,46445,572,93526,771,0001,983,0002,490,368
8Apr 27, 2026 02:343,51046,535,31027,129,0002,009,0002,490,368
9Apr 27, 2026 02:343,52942,933,75428,288,0001,010,0002,482,176
10Apr 27, 2026 02:343,55852,648,19528,521,0001,018,0002,482,176
11Apr 27, 2026 02:343,63252,124,46128,137,0002,009,0002,478,080
12Apr 27, 2026 02:343,68245,740,73629,543,0001,018,0002,486,272