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 listSep 12, 2022 06:05Yuriy LyfenkoYuriy LyfenkoScore: 7,214Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 12, 2022 06:057,03180,139,79555,336,0003,018,0002,334,720
2Sep 12, 2022 06:067,09886,839,06755,916,0002,995,0002,387,968
3Sep 12, 2022 06:067,10482,395,69854,965,0003,997,0002,490,368
4Sep 12, 2022 06:057,11685,426,38755,061,0004,004,0002,306,048
5Sep 12, 2022 06:067,11682,019,52757,060,0002,002,0002,371,584
6Sep 12, 2022 06:057,12288,465,42654,107,0005,009,0002,490,368
7Sep 12, 2022 06:057,13487,443,49854,194,0005,017,0002,461,696
8Sep 12, 2022 06:057,14481,665,92555,275,0004,020,0002,428,928
9Sep 12, 2022 06:067,16083,181,03354,396,0005,036,0002,310,144
10Sep 12, 2022 06:067,17188,039,92555,488,0004,035,0002,265,088
11Sep 12, 2022 06:057,20388,949,06755,802,0003,985,0002,506,752
12Sep 12, 2022 06:067,20984,776,21857,844,0001,994,0002,473,984
13Sep 12, 2022 06:057,21486,956,28456,883,0002,993,0002,301,952
14Sep 12, 2022 06:067,22388,401,15754,959,0004,996,0002,510,848
15Sep 12, 2022 06:067,23190,061,33355,014,0005,001,0002,437,120
16Sep 12, 2022 06:067,29590,053,45457,520,0003,027,0002,383,872
17Sep 12, 2022 06:067,368130,391,59261,157,29002,293,760
18Sep 12, 2022 06:057,370121,288,15661,174,06902,289,664
19Sep 12, 2022 06:067,389126,708,76761,327,64902,187,264
20Sep 12, 2022 06:067,402123,576,00661,433,83802,260,992
21Sep 12, 2022 06:057,404125,968,33561,449,10202,191,360
22Sep 12, 2022 06:057,419123,098,47261,575,89302,232,320
23Sep 12, 2022 06:057,50188,288,24658,245,0004,016,0002,461,696
24Sep 12, 2022 06:057,64786,771,68060,448,0003,022,0002,494,464