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 listDec 28, 2022 16:54Robert BurkeRobert BurkeScore: 7,962Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 28, 2022 16:547,94687,351,54264,956,000999,0002,424,832
2Dec 28, 2022 16:547,95089,107,40963,990,0001,999,0002,277,376
3Dec 28, 2022 16:547,95587,647,69365,024,0001,000,0002,277,376
4Dec 28, 2022 16:547,95788,274,60965,045,0001,000,0002,269,184
5Dec 28, 2022 16:547,95889,293,05265,055,0001,000,0002,433,024
6Dec 28, 2022 16:547,95991,169,13465,060,0001,000,0002,277,376
7Dec 28, 2022 16:547,96084,070,92765,070,0001,001,0002,277,376
8Dec 28, 2022 16:547,96295,697,01665,081,0001,001,0002,412,544
9Dec 28, 2022 16:547,96890,496,88666,132,00002,277,376
10Dec 28, 2022 16:547,97188,592,31265,155,0001,002,0002,539,520
11Dec 28, 2022 16:547,97286,569,94164,160,0002,005,0002,277,376
12Dec 28, 2022 16:547,992122,244,94166,332,56302,174,976
13Dec 28, 2022 16:548,00197,139,26065,401,0001,006,0002,433,024
14Dec 28, 2022 16:548,019118,443,69766,558,26202,293,760
15Dec 28, 2022 16:548,020132,040,27566,562,27202,293,760