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 14, 2026 22:45wnwnError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Jul 6, 2026 23:17Victor Mercklé10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 6, 2026 23:18043,156,87933,981,0001,064,0002,113,536expected "74600294196621100 ", got "45558712540243756 "
2Jul 6, 2026 23:18043,284,44934,074,0001,117,0002,113,536expected "74600294196621100 ", got "45558643159782188 "
3Jul 6, 2026 23:18041,905,26532,570,0001,155,0002,113,536expected "74600294196621100 ", got "46052663382231596 "
4Mar 14, 2026 22:464,25457,849,03134,301,0001,008,0002,273,280
5Mar 14, 2026 22:464,25955,778,12934,338,0001,009,0002,490,368
6Mar 14, 2026 22:454,26056,415,59934,344,0001,010,0002,494,464
7Mar 14, 2026 22:464,26362,229,61034,371,0001,010,0002,498,560
8Mar 14, 2026 22:454,26461,537,17234,384,0001,011,0002,490,368
9Mar 14, 2026 22:454,26962,970,27334,423,0001,012,0002,273,280
10Mar 14, 2026 22:464,27557,423,82334,472,0001,013,0002,273,280
11Mar 14, 2026 22:464,28157,590,81534,516,0001,015,0002,273,280
12Mar 14, 2026 22:464,28260,438,75034,529,0001,015,0002,273,280
13Mar 14, 2026 22:464,28259,042,11634,529,0001,015,0002,498,560
14Mar 14, 2026 22:454,28259,154,12334,529,0001,015,0002,490,368
15Mar 14, 2026 22:464,29162,666,29834,600,0001,017,0002,273,280
16Mar 14, 2026 22:454,29160,652,38334,601,0001,017,0002,273,280
17Mar 14, 2026 22:464,31861,578,41233,848,0001,991,0002,494,464
18Mar 14, 2026 22:454,57161,807,40435,943,0001,996,0002,273,280