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 listMay 10, 2026 10:21wnwnError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Jul 4, 2026 02:03Victor Mercklé10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 4, 2026 02:03035,752,24626,886,0001,001,0002,113,536expected "74600294196621100 ", got "74534684709612564 "
2Jul 4, 2026 02:03037,960,28129,156,0001,033,0002,113,536expected "74600294196621100 ", got "74535198427342790 "
3Jul 4, 2026 02:03035,639,15026,645,0001,043,0002,113,536expected "74600294196621100 ", got "74534749452352739 "
4May 10, 2026 10:213,38340,824,12226,991,0001,091,0002,486,272
5May 10, 2026 10:213,38642,547,92327,042,0001,069,0002,486,272
6May 10, 2026 10:213,39646,452,05727,130,0001,057,0002,482,176
7May 10, 2026 10:213,39942,166,57427,176,0001,039,0002,486,272
8May 10, 2026 10:213,41745,803,72727,257,0001,109,0002,494,464
9May 10, 2026 10:213,42044,406,91327,311,0001,083,0002,490,368
10May 10, 2026 10:213,55046,079,22828,374,0001,094,0002,482,176
11May 10, 2026 10:213,58747,832,20628,660,0001,118,0002,486,272
12May 10, 2026 10:213,61946,199,62928,891,0001,149,0002,482,176