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 listJan 3, 2026 03:22Josu San MartinJosu San MartinScore: 5,696Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 3, 2026 03:245,32564,181,65942,188,0002,008,0002,347,008
2Jan 3, 2026 03:225,33568,095,48443,277,0001,006,0002,342,912
3Jan 3, 2026 03:225,39969,615,81343,818,000995,0002,334,720
4Jan 3, 2026 03:225,47366,315,91545,429,00002,461,696
5Jan 3, 2026 04:075,53071,034,89244,898,000997,0002,478,080
6Jan 3, 2026 04:075,54268,930,62844,996,000999,0002,306,048
7Jan 3, 2026 04:075,54472,846,36944,015,0002,000,0002,273,280
8Jan 3, 2026 03:245,61672,098,56746,609,00002,338,816
9Jan 3, 2026 03:225,64172,527,54143,832,0002,988,0002,301,952
10Jan 3, 2026 03:225,66681,495,50945,028,0002,001,0002,322,432
11Jan 3, 2026 03:225,67267,913,63145,076,0002,003,0002,293,760
12Jan 3, 2026 04:075,67766,062,13245,113,0002,005,0002,371,584
13Jan 3, 2026 03:225,69677,319,05745,263,0002,011,0002,330,624
14Jan 3, 2026 03:225,70769,851,62146,365,0001,007,0002,342,912
15Jan 3, 2026 03:245,74172,459,01546,635,0001,013,0002,473,984
16Jan 3, 2026 03:225,76174,470,49346,823,000996,0002,318,336
17Jan 3, 2026 03:245,76575,708,41646,852,000996,0002,465,792
18Jan 3, 2026 03:225,77178,403,61245,907,0001,995,0002,453,504
19Jan 3, 2026 03:225,78673,564,40046,020,0002,000,0002,514,944
20Jan 3, 2026 03:245,79575,051,67847,095,0001,002,0002,510,848
21Jan 3, 2026 03:225,79771,561,16747,112,0001,002,0002,482,176
22Jan 3, 2026 03:245,80072,485,67446,134,0002,005,0002,383,872
23Jan 3, 2026 04:075,82470,438,80045,321,0003,021,0002,482,176
24Jan 3, 2026 04:075,82877,845,68847,367,0001,007,0002,367,488