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 listJul 7, 2026 03:31wnwnError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Jul 7, 2026 03:59Victor Mercklé31.76CustomSolution Broken
Jul 7, 2026 03:52Victor Mercklé31.76CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 7, 2026 03:53044,448,87933,895,0001,111,0002,113,536expected "45497895384093807 ", got "45378498275016153 "
2Jul 7, 2026 03:53043,254,50032,406,0001,110,0002,113,536expected "45498314972840272 ", got "45379694978004696 "
3Jul 7, 2026 03:53042,945,14932,386,0001,076,0002,113,536expected "45498150643501077 ", got "45379158627673722 "
4Jul 7, 2026 03:59043,087,91932,429,0001,141,0002,113,536expected "45496636006783428 ", got "45377274637426571 "
5Jul 7, 2026 03:59045,018,04833,901,0001,112,0002,113,536expected "45505230726947107 ", got "45385906034514755 "
6Jul 7, 2026 03:59044,506,34133,936,0001,090,0002,113,536expected "45503257610574295 ", got "45384075345920621 "
7Jul 7, 2026 03:323,62039,529,43128,904,0001,148,0002,113,536
8Jul 7, 2026 03:323,62439,541,38028,930,0001,150,0002,113,536
9Jul 7, 2026 03:323,75440,694,93230,143,0001,017,0002,113,536
10Jul 7, 2026 03:323,75840,653,38030,047,0001,148,0002,113,536
11Jul 7, 2026 03:323,77140,782,04330,137,0001,169,0002,113,536
12Jul 7, 2026 03:323,78141,173,34730,234,0001,156,0002,113,536
13Jul 7, 2026 03:323,78440,912,10630,248,0001,161,0002,113,536
14Jul 7, 2026 03:323,82941,281,12730,648,0001,139,0002,113,536
15Jul 7, 2026 03:323,85850,740,63431,009,0001,017,0002,113,536