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:49Yuriy LyfenkoYuriy LyfenkoScore: 17,654Success
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:4917,627173,161,494145,304,0001,002,0002,387,968
2May 25, 2021 18:4917,628171,591,924145,309,0001,002,0002,392,064
3May 25, 2021 18:4917,629176,074,964145,320,0001,002,0002,396,160
4May 25, 2021 18:4917,629167,588,333145,320,0001,002,0002,260,992
5May 25, 2021 18:4917,631169,637,402146,339,00002,396,160
6May 25, 2021 18:4917,632173,760,926145,345,0001,002,0002,260,992
7May 25, 2021 18:4917,633168,970,718146,358,00002,396,160
8May 25, 2021 18:4917,634172,021,604146,365,00002,506,752
9May 25, 2021 18:4917,634169,015,923145,360,0001,002,0002,523,136
10May 25, 2021 18:4917,644178,610,778145,439,0001,003,0002,396,160
11May 25, 2021 18:4917,645168,702,041146,457,00002,260,992
12May 25, 2021 18:4917,646169,188,260146,465,00002,260,992
13May 25, 2021 18:4917,654175,198,336146,527,00002,383,872
14May 25, 2021 18:4917,750172,960,004146,320,0001,002,0002,392,064
15May 25, 2021 18:4917,888167,327,987147,466,0001,003,0002,392,064
16May 25, 2021 18:4917,928173,242,876146,804,0001,997,0002,392,064
17May 25, 2021 18:4918,117188,286,445150,367,61802,396,160
18May 25, 2021 18:4918,119171,325,351149,389,0001,002,0002,260,992
19May 25, 2021 18:4918,129187,453,357150,473,15302,277,376
20May 25, 2021 18:4918,136175,470,224149,535,000996,0002,396,160
21May 25, 2021 18:4918,140195,447,973150,558,46902,260,992
22May 25, 2021 18:4918,144224,311,546150,594,40602,269,184
23May 25, 2021 18:4918,154195,555,587150,681,00002,269,184
24May 25, 2021 18:4918,270217,654,224151,637,70202,260,992