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 17, 2026 04:18zielajzielajScore: 3,507Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 17, 2026 04:163,47855,896,29126,874,0001,990,0002,523,136
2Mar 17, 2026 04:163,48052,786,71026,889,0001,991,0002,445,312
3Mar 17, 2026 04:173,48151,085,70726,901,0001,992,0002,445,312
4Mar 17, 2026 04:173,48556,092,25126,931,0001,994,0002,260,992
5Mar 17, 2026 04:143,49560,621,97227,010,0002,000,0002,449,408
6Mar 17, 2026 04:163,49552,312,15927,006,0002,000,0002,519,040
7Mar 17, 2026 04:163,49650,213,90627,016,0002,001,0002,441,216
8Mar 17, 2026 04:163,49950,666,24227,040,0002,002,0002,523,136
9Mar 17, 2026 04:183,50252,324,17927,063,0002,004,0002,441,216
10Mar 17, 2026 04:173,50254,088,29227,066,0002,004,0002,445,312
11Mar 17, 2026 04:183,50454,679,80627,081,0002,006,0002,441,216
12Mar 17, 2026 04:143,50552,791,48627,082,0002,006,0002,445,312
13Mar 17, 2026 04:163,50754,695,38727,105,0002,007,0002,519,040
14Mar 17, 2026 04:163,50747,345,74427,102,0002,007,0002,437,120
15Mar 17, 2026 04:173,50950,530,03127,118,0002,008,0002,519,040
16Mar 17, 2026 04:173,51255,637,28727,141,0002,010,0002,441,216
17Mar 17, 2026 04:183,51249,929,69727,139,0002,010,0002,523,136
18Mar 17, 2026 04:163,51450,516,75927,156,0002,011,0002,523,136
19Mar 17, 2026 04:183,51748,766,09927,181,0002,013,0002,453,504
20Mar 17, 2026 04:143,51750,609,95027,179,0002,013,0002,441,216
21Mar 17, 2026 04:183,52053,245,87427,198,0002,014,0002,441,216
22Mar 17, 2026 04:183,52152,917,40327,208,0002,015,0002,523,136
23Mar 17, 2026 04:173,52448,879,34227,235,0002,017,0002,260,992
24Mar 17, 2026 04:163,55255,575,69228,465,0001,016,0002,441,216