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 listApr 12, 2026 12:51wnwnError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Jul 6, 2026 22:18Victor Mercklé10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 6, 2026 22:19041,320,12432,083,0001,157,0002,113,536expected "74600294196621100 ", got "73846418908173100 "
2Jul 6, 2026 22:19043,585,72934,306,0001,171,0002,113,536expected "74600294196621100 ", got "74222337346119980 "
3Jul 6, 2026 22:19040,846,83631,670,0001,078,0002,113,536expected "74600294196621100 ", got "73845676331694380 "
4Apr 13, 2026 04:174,19959,977,50532,857,0001,991,0002,277,376
5Apr 13, 2026 04:174,20556,592,21032,908,0001,994,0002,494,464
6Apr 12, 2026 12:474,21161,205,86932,954,0001,997,0002,494,464
7Apr 12, 2026 12:474,21158,906,48132,957,0001,997,0002,277,376
8Apr 13, 2026 04:154,21356,466,03332,970,0001,998,0002,494,464
9Apr 13, 2026 04:154,22655,541,72833,068,0002,004,0002,535,424
10Apr 13, 2026 04:144,24661,884,55433,228,0002,013,0002,490,368
11Apr 12, 2026 12:514,25457,763,23633,295,0002,017,0002,277,376
12Apr 13, 2026 04:144,26357,178,24034,370,0001,010,0002,277,376
13Apr 12, 2026 12:514,26457,242,11034,381,0001,011,0002,498,560
14Apr 13, 2026 04:154,27562,799,26434,466,0001,013,0002,502,656
15Apr 13, 2026 04:174,27756,419,54634,483,0001,014,0002,277,376
16Apr 12, 2026 12:514,27856,514,66034,497,0001,014,0002,535,424
17Apr 12, 2026 12:474,29264,868,86834,607,0001,017,0002,494,464
18Apr 13, 2026 04:144,52961,719,66536,575,0001,015,0002,535,424