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:12wnwnScore: 3,562Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 19, 2026 07:113,54052,286,85628,368,0001,013,0002,490,368
2Apr 19, 2026 07:123,54152,981,29028,379,0001,013,0002,494,464
3Apr 19, 2026 07:123,54353,548,23628,397,0001,014,0002,277,376
4Apr 19, 2026 07:113,54552,323,52328,407,0001,014,0002,277,376
5Apr 19, 2026 07:113,54552,526,63228,413,0001,014,0002,277,376
6Apr 19, 2026 07:123,55248,436,40028,463,0001,016,0002,494,464
7Apr 19, 2026 07:113,55452,181,37128,482,0001,017,0002,494,464
8Apr 19, 2026 07:113,56059,410,36328,530,0001,018,0002,277,376
9Apr 19, 2026 07:123,56054,000,10928,531,0001,018,0002,502,656
10Apr 19, 2026 07:113,56258,632,67928,542,0001,019,0002,277,376
11Apr 19, 2026 07:123,56248,995,30728,548,0001,019,0002,502,656
12Apr 19, 2026 07:123,56556,506,71528,567,0001,020,0002,494,464
13Apr 19, 2026 07:113,57056,417,60228,609,0001,021,0002,498,560
14Apr 19, 2026 07:123,57354,552,57128,634,0001,022,0002,277,376
15Apr 19, 2026 07:113,57561,335,83028,649,0001,023,0002,486,272
16Apr 19, 2026 07:123,57955,578,25027,727,0001,980,0002,277,376
17Apr 19, 2026 07:123,60453,922,23327,921,0001,994,0002,269,184
18Apr 19, 2026 07:113,69460,791,33329,641,0001,022,0002,277,376