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 28, 2021 19:21Yuriy LyfenkoYuriy LyfenkoScore: 12,683Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 28, 2021 19:2112,655382,026,488104,034,0001,000,0002,260,992
2Jun 28, 2021 19:2112,662378,741,245104,091,0001,000,0002,260,992
3Jun 28, 2021 19:2112,667376,897,248104,134,0001,001,0002,510,848
4Jun 28, 2021 19:2112,671383,355,562104,170,0001,001,0002,383,872
5Jun 28, 2021 19:2112,672376,587,469104,176,0001,001,0002,523,136
6Jun 28, 2021 19:2112,674385,215,158103,211,0001,984,0002,387,968
7Jun 28, 2021 19:2112,679379,556,319105,236,00002,514,944
8Jun 28, 2021 19:2112,680377,065,081104,243,0001,002,0002,387,968
9Jun 28, 2021 19:2112,680379,210,518105,244,00002,523,136
10Jun 28, 2021 19:2112,680385,869,843103,241,0002,004,0002,260,992
11Jun 28, 2021 19:2112,681382,646,154105,255,00002,387,968
12Jun 28, 2021 19:2112,682389,074,916105,261,00002,387,968
13Jun 28, 2021 19:2112,683384,173,073105,272,00002,523,136
14Jun 28, 2021 19:2112,685380,607,390104,280,0001,002,0002,260,992
15Jun 28, 2021 19:2112,687377,412,184105,300,00002,523,136
16Jun 28, 2021 19:2112,691382,053,085105,338,00002,523,136
17Jun 28, 2021 19:2112,692377,865,728104,341,0001,003,0002,523,136
18Jun 28, 2021 19:2112,693376,494,200104,347,0001,003,0002,383,872
19Jun 28, 2021 19:2113,605430,406,549112,923,07002,236,416
20Jun 28, 2021 19:2113,608415,430,250112,949,11602,232,320
21Jun 28, 2021 19:2113,609439,984,481112,957,90902,269,184
22Jun 28, 2021 19:2113,609432,391,745112,952,29102,265,088
23Jun 28, 2021 19:2113,617435,734,865113,024,69202,252,800
24Jun 28, 2021 19:2113,622428,617,238113,060,58302,236,416