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 22, 2021 15:38Yuriy LyfenkoYuriy LyfenkoScore: 17,341Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 22, 2021 15:3817,206170,996,069140,816,0001,997,0002,392,064
2May 22, 2021 15:3917,208172,155,365140,830,0001,997,0002,523,136
3May 22, 2021 15:3817,209167,654,126140,841,0001,997,0002,400,256
4May 22, 2021 15:3917,209165,077,334141,835,000998,0002,387,968
5May 22, 2021 15:3817,210171,298,911140,848,0001,997,0002,260,992
6May 22, 2021 15:3817,210169,286,376140,844,0001,997,0002,396,160
7May 22, 2021 15:3917,211168,523,536140,852,0001,997,0002,260,992
8May 22, 2021 15:3917,215170,812,712140,883,0001,998,0002,383,872
9May 22, 2021 15:3917,229168,697,019141,999,000999,0002,260,992
10May 22, 2021 15:3817,233172,029,367142,037,0001,000,0002,392,064
11May 22, 2021 15:3817,266169,266,924141,300,0002,004,0002,392,064
12May 22, 2021 15:3817,325170,800,393141,802,0001,997,0002,523,136
13May 22, 2021 15:3817,341176,283,743142,931,000999,0002,260,992
14May 22, 2021 15:3917,415172,523,967144,545,00002,260,992
15May 22, 2021 15:3917,581170,219,244144,923,000999,0002,392,064
16May 22, 2021 15:3917,821175,181,354145,916,0001,998,0002,383,872
17May 22, 2021 15:3917,822182,947,011145,923,0001,998,0002,260,992
18May 22, 2021 15:3817,833173,409,675147,012,0001,000,0002,260,992
19May 22, 2021 15:3917,878208,003,885148,389,48902,256,896
20May 22, 2021 15:3817,881203,051,070148,408,97202,265,088
21May 22, 2021 15:3917,882221,091,780148,423,64902,265,088
22May 22, 2021 15:3917,889203,257,096148,476,39402,269,184
23May 22, 2021 15:3817,889203,198,285148,476,93602,281,472
24May 22, 2021 15:3817,893213,363,009148,509,05402,265,088