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 27, 2026 17:41wnwnError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Jul 6, 2026 23:15Victor Mercklé10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 6, 2026 23:16042,637,75633,557,0001,169,0002,113,536expected "74600294196621100 ", got "74066704413060396 "
2Jul 6, 2026 23:16040,643,11431,595,0001,163,0002,113,536expected "74600294196621100 ", got "73853125535265324 "
3Jul 6, 2026 23:16041,457,29732,397,0001,171,0002,113,536expected "74600294196621100 ", got "74066582281120300 "
4Mar 27, 2026 17:414,26261,210,17934,361,0001,010,0002,494,464
5Mar 27, 2026 17:414,27156,551,95634,437,0001,012,0002,490,368
6Mar 27, 2026 17:414,27258,566,37634,443,0001,013,0002,494,464
7Mar 27, 2026 17:414,27663,218,93934,478,0001,014,0002,502,656
8Mar 27, 2026 17:414,28055,427,90834,507,0001,014,0002,277,376
9Mar 27, 2026 17:414,28059,679,94534,511,0001,015,0002,277,376
10Mar 27, 2026 17:414,28561,076,07134,553,0001,016,0002,494,464
11Mar 27, 2026 17:414,31759,524,09733,842,0001,990,0002,273,280
12Mar 27, 2026 17:414,33261,212,53333,956,0001,997,0002,277,376