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 listOct 11, 2023 20:54Serge SmirnovSerge SmirnovScore: 33,296Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 12, 2023 13:2633,218350,758,831275,709,34002,289,664
2Oct 11, 2023 20:0233,219335,827,668275,717,19902,285,568
3Oct 11, 2023 20:0233,224341,530,305275,756,41302,285,568
4Oct 12, 2023 13:2633,236353,523,003275,860,90202,281,472
5Oct 12, 2023 13:2633,257351,236,267276,034,03202,285,568
6Oct 11, 2023 20:0233,285337,421,201276,266,25002,273,280
7Oct 11, 2023 20:5433,292336,949,755276,321,13102,285,568
8Oct 11, 2023 20:0233,296355,987,799276,360,06402,293,760
9Oct 12, 2023 06:4633,297342,351,241276,364,00102,289,664
10Oct 11, 2023 20:0233,305336,488,812276,429,44602,281,472
11Oct 11, 2023 20:5433,306355,717,251276,441,78602,289,664
12Oct 12, 2023 06:4633,307347,066,789276,445,39502,285,568
13Oct 12, 2023 06:4633,310333,967,579276,469,70402,281,472
14Oct 11, 2023 20:0233,317334,050,479276,530,78702,289,664
15Oct 11, 2023 20:5433,336336,155,147276,685,14102,285,568