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 18, 2026 18:55wnwnError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Jul 6, 2026 22:07Victor Mercklé10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 6, 2026 22:07041,785,04332,006,0001,162,0002,113,536expected "74600294196621100 ", got "73947984404869420 "
2Jul 6, 2026 22:07041,487,97032,334,0001,011,0002,113,536expected "74600294196621100 ", got "73949003293291820 "
3Jul 6, 2026 22:07041,322,09032,037,0001,135,0002,113,536expected "74600294196621100 ", got "73567650180412204 "
4Mar 18, 2026 18:564,22355,379,89733,045,0002,002,0002,273,280
5Mar 18, 2026 18:564,22560,464,67633,067,0002,004,0002,482,176
6Mar 18, 2026 18:274,23454,948,99933,136,0002,008,0002,273,280
7Mar 18, 2026 18:274,23458,013,35333,133,0002,008,0002,490,368
8Mar 18, 2026 18:574,23562,248,91633,145,0002,008,0002,273,280
9Mar 18, 2026 18:564,23857,743,44733,163,0002,009,0002,273,280
10Mar 18, 2026 18:564,24155,892,67033,186,0002,011,0002,273,280
11Mar 18, 2026 18:274,24258,179,23333,196,0002,011,0002,502,656
12Mar 18, 2026 18:574,24255,465,15333,200,0002,012,0002,490,368
13Mar 18, 2026 18:574,24557,492,18033,223,0002,013,0002,498,560
14Mar 18, 2026 18:574,24659,313,25433,231,0002,014,0002,273,280
15Mar 18, 2026 18:274,26055,225,95034,348,0001,010,0002,273,280
16Mar 18, 2026 18:574,26656,184,15734,394,0001,011,0002,494,464
17Mar 18, 2026 18:574,26954,835,26734,421,0001,012,0002,273,280
18Mar 18, 2026 18:554,27458,830,71634,465,0001,013,0002,273,280
19Mar 18, 2026 18:274,27557,941,07234,469,0001,013,0002,486,272
20Mar 18, 2026 18:274,28758,851,45134,567,0001,016,0002,494,464
21Mar 18, 2026 18:564,29461,481,57134,622,0001,018,0002,269,184
22Mar 18, 2026 18:554,31861,616,72933,847,0001,991,0002,273,280
23Mar 18, 2026 18:564,32163,487,03433,875,0001,992,0002,273,280
24Mar 18, 2026 18:554,34858,232,17834,085,0002,005,0002,273,280