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 19, 2026 07:12wnwnError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Jul 6, 2026 17:09Victor Mercklé10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 6, 2026 17:09036,419,41927,505,0001,007,0002,113,536expected "74600294196621100 ", got "74924972660514018 "
2Jul 6, 2026 17:09038,297,55629,212,0001,007,0002,113,536expected "74600294196621100 ", got "74527510485834945 "
3Jul 6, 2026 17:09037,310,05427,932,0001,004,0002,113,536expected "74600294196621100 ", got "74924929871120908 "
4Apr 19, 2026 07:113,54052,286,85628,368,0001,013,0002,490,368
5Apr 19, 2026 07:123,54152,981,29028,379,0001,013,0002,494,464
6Apr 19, 2026 07:123,54353,548,23628,397,0001,014,0002,277,376
7Apr 19, 2026 07:113,54552,526,63228,413,0001,014,0002,277,376
8Apr 19, 2026 07:113,54552,323,52328,407,0001,014,0002,277,376
9Apr 19, 2026 07:123,55248,436,40028,463,0001,016,0002,494,464
10Apr 19, 2026 07:113,55452,181,37128,482,0001,017,0002,494,464
11Apr 19, 2026 07:113,56059,410,36328,530,0001,018,0002,277,376
12Apr 19, 2026 07:123,56054,000,10928,531,0001,018,0002,502,656
13Apr 19, 2026 07:113,56258,632,67928,542,0001,019,0002,277,376
14Apr 19, 2026 07:123,56248,995,30728,548,0001,019,0002,502,656
15Apr 19, 2026 07:123,56556,506,71528,567,0001,020,0002,494,464
16Apr 19, 2026 07:113,57056,417,60228,609,0001,021,0002,498,560
17Apr 19, 2026 07:123,57354,552,57128,634,0001,022,0002,277,376
18Apr 19, 2026 07:113,57561,335,83028,649,0001,023,0002,486,272
19Apr 19, 2026 07:123,57955,578,25027,727,0001,980,0002,277,376
20Apr 19, 2026 07:123,60453,922,23327,921,0001,994,0002,269,184
21Apr 19, 2026 07:113,69460,791,33329,641,0001,022,0002,277,376