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 listJul 4, 2021 10:59Sergey SamokhvalovSergey SamokhvalovScore: 19,887Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 4, 2021 10:5919,868190,553,595162,909,0001,998,0002,371,584
2Jul 4, 2021 10:2019,870189,724,834162,920,0001,999,0002,379,776
3Jul 4, 2021 10:2019,874188,726,060163,954,000999,0002,514,944
4Jul 4, 2021 10:5919,874189,882,211162,957,0001,999,0002,514,944
5Jul 4, 2021 10:2019,876190,933,792163,969,000999,0002,514,944
6Jul 4, 2021 10:2019,876189,578,682162,974,0001,999,0002,260,992
7Jul 4, 2021 10:5919,877195,984,901162,982,0001,999,0002,514,944
8Jul 4, 2021 10:2019,878188,191,193163,985,000999,0002,371,584
9Jul 4, 2021 10:5919,879193,193,853162,998,0001,999,0002,510,848
10Jul 4, 2021 10:5919,880196,849,738164,003,0001,000,0002,523,136
11Jul 4, 2021 10:2019,884191,005,451164,039,0001,000,0002,379,776
12Jul 4, 2021 10:2019,886194,869,682163,053,0002,000,0002,514,944
13Jul 4, 2021 10:2019,887190,722,959163,059,0002,000,0002,514,944
14Jul 4, 2021 10:5919,888194,890,064164,069,0001,000,0002,387,968
15Jul 4, 2021 10:5919,892188,228,613164,105,0001,000,0002,379,776
16Jul 4, 2021 10:5919,894186,672,711163,122,0002,001,0002,519,040
17Jul 4, 2021 10:2019,902194,672,633163,183,0002,002,0002,514,944
18Jul 4, 2021 10:5919,903187,757,049164,196,0001,001,0002,514,944
19Jul 4, 2021 10:5920,123206,610,950167,016,97502,256,896
20Jul 4, 2021 10:5920,123228,492,697167,019,97402,265,088
21Jul 4, 2021 10:2020,127210,139,388167,054,20602,260,992
22Jul 4, 2021 10:2020,128214,574,596167,061,44102,256,896
23Jul 4, 2021 10:2020,134204,342,114167,113,15002,252,800
24Jul 4, 2021 10:5920,393218,510,208169,261,71602,260,992