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 02:34Yuriy LyfenkoYuriy LyfenkoError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Jul 7, 2026 05:06Victor Mercklé10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 7, 2026 05:06053,207,62042,229,0001,014,0002,113,536expected "74600294196621100 ", got "8731517020253996 "
2Jul 7, 2026 05:06053,695,99842,482,0001,015,0002,113,536expected "74600294196621100 ", got "8731517020253996 "
3Jul 7, 2026 05:06052,745,53342,102,0001,017,0002,113,536expected "74600294196621100 ", got "8731517020253996 "
4Mar 18, 2026 02:345,36570,027,18343,520,0001,012,0002,310,144
5Mar 18, 2026 02:345,36867,288,62942,529,0002,025,0002,301,952
6Mar 18, 2026 02:345,37972,560,04843,633,0001,014,0002,285,568
7Mar 18, 2026 02:345,52574,791,25043,864,0001,993,0002,269,184
8Mar 18, 2026 02:345,54070,147,46342,981,0002,998,0002,285,568
9Mar 18, 2026 02:345,59074,404,01543,374,0003,026,0002,293,760
10Mar 18, 2026 02:345,59673,659,37745,440,0001,009,0002,285,568
11Mar 18, 2026 02:345,59872,973,49844,447,0002,020,0002,301,952
12Mar 18, 2026 02:345,64378,477,36245,843,000996,0002,285,568