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 listJan 17, 2022 00:32Yuriy LyfenkoYuriy LyfenkoScore: 29,210Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 17, 2022 00:3229,183293,558,070242,222,70502,224,128
2Jan 17, 2022 01:3729,184266,213,274239,228,0003,002,0002,326,528
3Jan 17, 2022 01:3729,187306,019,883242,255,87902,215,936
4Jan 17, 2022 01:3729,189294,977,884242,271,78102,220,032
5Jan 17, 2022 01:3729,198262,715,194240,338,0002,002,0002,527,232
6Jan 17, 2022 00:3229,199263,726,757240,351,0002,002,0002,527,232
7Jan 17, 2022 00:3229,202270,382,370241,375,0001,001,0002,326,528
8Jan 17, 2022 00:3229,204261,269,580240,391,0002,003,0002,322,432
9Jan 17, 2022 00:3229,204274,688,236241,396,0001,001,0002,527,232
10Jan 17, 2022 00:3229,205310,986,183242,397,85202,207,744
11Jan 17, 2022 01:3729,206265,763,342241,407,0001,001,0002,523,136
12Jan 17, 2022 00:3229,209311,354,667242,430,91102,215,936
13Jan 17, 2022 01:3729,210292,393,061242,444,51602,220,032
14Jan 17, 2022 01:3729,214269,998,748240,474,0002,003,0002,523,136
15Jan 17, 2022 01:3729,216269,808,207241,487,0001,002,0002,527,232
16Jan 17, 2022 00:3229,217266,038,531241,501,0001,002,0002,326,528
17Jan 17, 2022 01:3729,223270,372,799239,556,0002,994,0002,326,528
18Jan 17, 2022 01:3729,224269,550,498241,556,0001,002,0002,326,528
19Jan 17, 2022 00:3229,230273,624,783242,611,00002,326,528
20Jan 17, 2022 00:3229,242270,411,802239,714,0002,996,0002,527,232
21Jan 17, 2022 01:3729,244270,283,572238,728,0003,995,0002,326,528
22Jan 17, 2022 00:3229,244267,774,790239,728,0002,996,0002,326,528
23Jan 17, 2022 01:3729,249267,222,592239,771,0002,997,0002,383,872
24Jan 17, 2022 00:3229,261266,932,462240,867,0001,998,0002,523,136