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 listMay 25, 2021 18:48Yuriy LyfenkoYuriy LyfenkoScore: 17,556Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 25, 2021 18:4717,495169,322,226144,204,0001,001,0002,396,160
2May 25, 2021 18:4817,495168,642,234144,205,0001,001,0002,392,064
3May 25, 2021 18:4717,498174,149,634144,235,0001,001,0002,260,992
4May 25, 2021 18:4817,500167,635,110144,250,0001,001,0002,260,992
5May 25, 2021 18:4817,500165,366,735144,248,0001,001,0002,523,136
6May 25, 2021 18:4817,503166,407,238144,271,0001,001,0002,260,992
7May 25, 2021 18:4717,505170,940,824144,292,0001,002,0002,510,848
8May 25, 2021 18:4717,505173,323,959145,295,00002,260,992
9May 25, 2021 18:4817,509174,136,114145,326,00002,260,992
10May 25, 2021 18:4717,509170,996,015144,331,000995,0002,260,992
11May 25, 2021 18:4817,512168,600,219144,351,0001,002,0002,523,136
12May 25, 2021 18:4717,512167,760,328145,351,00002,260,992
13May 25, 2021 18:4717,513167,958,858144,354,0001,002,0002,265,088
14May 25, 2021 18:4817,514174,411,354145,366,00002,396,160
15May 25, 2021 18:4817,515166,502,823144,374,0001,002,0002,260,992
16May 25, 2021 18:4817,519167,258,663145,406,00002,396,160
17May 25, 2021 18:4817,524175,815,497143,460,0001,992,0002,260,992
18May 25, 2021 18:4817,550183,904,498145,666,30102,265,088
19May 25, 2021 18:4717,556183,740,038145,717,83602,273,280
20May 25, 2021 18:4817,557209,212,880145,722,60902,273,280
21May 25, 2021 18:4817,558187,588,573145,732,48102,269,184
22May 25, 2021 18:4717,566216,278,155145,800,49602,269,184
23May 25, 2021 18:4717,570207,539,091145,831,94602,273,280
24May 25, 2021 18:4817,577178,294,550144,893,000999,0002,260,992
25May 25, 2021 18:4817,619167,580,522145,235,0001,001,0002,404,352
26May 25, 2021 18:4817,630169,274,651145,323,0001,002,0002,387,968
27May 25, 2021 18:4717,786170,113,320147,622,00002,260,992
28May 25, 2021 18:4817,788172,762,821146,633,0001,004,0002,383,872
29May 25, 2021 18:4817,800179,274,361146,740,000998,0002,265,088
30May 25, 2021 18:4817,802177,483,865147,754,00002,260,992
31May 25, 2021 18:4717,803177,025,369147,763,00002,396,160
32May 25, 2021 18:4817,974173,289,925147,180,0002,002,0002,260,992
33May 25, 2021 18:4817,982169,311,526149,252,00002,506,752
34May 25, 2021 18:4818,341191,574,141152,230,11302,244,608
35May 25, 2021 18:4818,362231,288,748152,406,82502,269,184
36May 25, 2021 18:4818,375203,879,055152,510,12102,277,376