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:20evgenikwtevgenikwtScore: 28,242Success
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 21:0627,618304,710,702229,232,51202,252,800
2Jun 13, 2021 21:2027,623296,452,992229,271,70602,252,800
3Jun 12, 2021 21:0627,633296,175,593229,357,49502,252,800
4Jun 13, 2021 21:1327,639297,499,938229,405,32402,248,704
5Jun 12, 2021 21:0627,640301,967,184229,413,63202,260,992
6Jun 13, 2021 21:1327,655308,097,243229,538,61502,256,896
7Jun 13, 2021 21:2028,044298,981,035232,764,89702,248,704
8Jun 13, 2021 21:2028,079293,493,656233,056,72902,248,704
9Jun 13, 2021 21:1328,088258,690,472232,132,0001,000,0002,260,992
10Jun 13, 2021 21:1328,091286,688,823233,158,23602,240,512
11Jun 12, 2021 21:0628,122259,461,131232,415,0001,001,0002,375,680
12Jun 13, 2021 21:1328,156259,527,812231,699,0001,997,0002,260,992
13Jun 13, 2021 21:2028,158261,579,118232,710,000998,0002,371,584
14Jun 12, 2021 21:0628,164260,498,929232,760,000998,0002,519,040
15Jun 12, 2021 21:0628,171259,927,037232,824,000999,0002,260,992
16Jun 13, 2021 21:2028,183261,093,882231,921,0001,999,0002,260,992
17Jun 13, 2021 21:1328,184264,041,561231,929,0001,999,0002,523,136
18Jun 13, 2021 21:1328,187266,983,051231,955,0001,999,0002,375,680
19Jun 12, 2021 21:0628,242260,420,567233,406,0001,001,0002,260,992
20Jun 12, 2021 21:0628,433264,280,935234,999,000999,0002,260,992
21Jun 13, 2021 21:1328,683266,474,970237,065,0001,000,0002,260,992
22Jun 13, 2021 21:1328,725258,661,127237,420,0001,001,0002,375,680
23Jun 12, 2021 21:0628,729268,489,304237,453,0001,001,0002,371,584
24Jun 12, 2021 21:0628,730269,198,331238,462,00002,375,680
25Jun 13, 2021 21:2028,754267,858,598238,661,00002,519,040
26Jun 12, 2021 21:0628,759269,665,464236,703,0001,997,0002,523,136
27Jun 13, 2021 21:1328,761269,179,365236,717,0001,997,0002,519,040
28Jun 13, 2021 21:1328,762265,967,728238,725,00002,375,680
29Jun 13, 2021 21:2028,782264,357,733237,891,000999,0002,256,896
30Jun 13, 2021 21:2028,791266,732,980236,964,0001,999,0002,519,040
31Jun 13, 2021 21:2028,796269,240,541238,007,0001,000,0002,371,584
32Jun 13, 2021 21:1328,803269,103,497238,068,0001,000,0002,379,776
33Jun 13, 2021 21:2028,804266,978,203238,071,0001,000,0002,519,040
34Jun 12, 2021 21:0628,805272,932,456239,081,00002,375,680
35Jun 13, 2021 21:2028,809265,257,551237,113,0002,000,0002,379,776
36Jun 13, 2021 21:2028,824263,657,705238,239,0001,001,0002,367,488