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 listJun 13, 2021 21:23evgenikwtevgenikwtScore: 28,390Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 12, 2021 20:5427,504289,105,221228,283,10002,252,800
2Jun 13, 2021 21:2327,517292,810,619228,390,13802,256,896
3Jun 12, 2021 20:5427,549290,945,021228,658,14502,240,512
4Jun 13, 2021 21:2327,940294,213,644231,899,44902,248,704
5Jun 13, 2021 21:2327,944301,861,827231,938,15002,244,608
6Jun 12, 2021 20:5427,953287,781,389232,005,81802,256,896
7Jun 13, 2021 21:2327,998256,057,636231,385,0001,001,0002,260,992
8Jun 12, 2021 20:5428,017260,838,392231,542,0001,002,0002,371,584
9Jun 12, 2021 20:5428,023258,603,234230,595,0001,996,0002,371,584
10Jun 13, 2021 21:2328,048256,684,813230,800,0001,998,0002,260,992
11Jun 12, 2021 20:5428,050258,332,845230,818,0001,998,0002,375,680
12Jun 12, 2021 20:5428,050258,519,165231,820,000999,0002,260,992
13Jun 12, 2021 20:5428,390260,305,384233,637,0001,996,0002,371,584
14Jun 12, 2021 20:5428,538263,533,175234,865,0001,998,0002,519,040
15Jun 12, 2021 20:5428,548260,567,648234,953,0001,999,0002,260,992
16Jun 12, 2021 20:5428,557266,436,791235,027,0002,000,0002,260,992
17Jun 13, 2021 21:2328,561257,540,668237,054,00002,260,992
18Jun 13, 2021 21:2328,568268,670,253236,117,0001,000,0002,260,992
19Jun 13, 2021 21:2328,613266,037,408236,490,0001,002,0002,265,088
20Jun 13, 2021 21:2328,639260,875,895236,705,000998,0002,375,680
21Jun 12, 2021 20:5428,641266,015,996235,722,0001,997,0002,519,040
22Jun 13, 2021 21:2328,649263,398,466235,788,0001,998,0002,519,040
23Jun 13, 2021 21:2328,651268,931,942235,806,0001,998,0002,375,680
24Jun 13, 2021 21:2328,672265,468,788236,977,000999,0002,519,040